This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Optimise view reuse cache with Marker Views #5076
Labels
Milestone
Comments
tobrun
added
Android
Mapbox Maps SDK for Android
annotations
Annotations on iOS and macOS or markers on Android
labels
May 20, 2016
@tobrun Do we want to impose a limit on the number of items in the cache or is this issue simply stating that the current implementing isn't re-using items already in the cache and that needs to be changed to do so? |
tobrun
added a commit
that referenced
this issue
Jun 6, 2016
tobrun
added a commit
that referenced
this issue
Jun 6, 2016
Merged in #5250 onto |
This was referenced Jun 7, 2016
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Marker view integration on Android landed with #3276.
This integration is backed up by an adapter approach that uses view recycling. Currently there is no limit on the amount of Views in the cache (child views of MapView) and there is a behaviour when panning in and out the viewport that results in growing the cache while it should be reusing the items in the cache.
Example:
We show 100 view marker but panning quickly a couple of times results in a cache with 147 views.
The text was updated successfully, but these errors were encountered: