-
Notifications
You must be signed in to change notification settings - Fork 336
Version 3 Goals
Mike Dunn edited this page May 25, 2017
·
9 revisions
- Simplify.
- De-couple. TileView itself should be a single View; ZoomPanLayout should be super for several subclasses, including MultiAxisScrollView and TileViewStack.
- Tests.
- Tile instances should manage their own threading and state.
- Plugin architecture. Opt-in for markers, paths, hotspots, etc.
- Allow reuse of Bitmap instances.
- Allow null Bitmaps (or bitmaps not found); accommodate previous tile sets (consider null as fully opaque, or fully transparent).
- DetailLevel or Manager should only return start/end column/row - TileView should figure out what tiles are "active" from that.
- Implemented a limited cache of Tiles; when retired, a Tile should be light (no bitmap); the cache should be FIFO and capped to a reasonable (configurable?) number, so that multi-million pixel stacks won't impose massive caches.
- More framework-centric api - e.g.,
addMarker(R.layout.whatever)
and android attributes for things like anchorX and anchorY. - Instead of setting a padding (with
setViewportPadding(int)
to have more tiles loaded, add the ability to opt-in for a more intelligent way of loading tiles, based on the direction of a scroll. Combined to the tile cache, a "predictive" tile loading could be implemented.
Feature Requests: https://github.com/moagrius/TileView/pull/358