Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Do not reinitialize camera/render mode if it hasn't changed #15266

Merged
merged 1 commit into from
Jul 31, 2019

Conversation

LukasPaczos
Copy link
Member

Camera/Render mode updates can be streamed from various different stateless sources and we should make sure to skip an update to a mode that's already set. This keeps the callbacks tidy and does not perform unnecessary work.

@LukasPaczos LukasPaczos added the Android Mapbox Maps SDK for Android label Jul 31, 2019
@LukasPaczos LukasPaczos added this to the release-queso milestone Jul 31, 2019
@LukasPaczos LukasPaczos requested a review from tobrun July 31, 2019 09:07
@LukasPaczos LukasPaczos added needs changelog Indicates PR needs a changelog entry prior to merging. and removed needs changelog Indicates PR needs a changelog entry prior to merging. labels Jul 31, 2019
Camera/Render mode updates can be streamed from various different stateless sources and we should make sure to skip an update to a mode that's already set. This keeps the callbacks tidy and does not perform unnecessary work.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants