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

Cancelable callback invocation #6891

Merged

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Nov 3, 2016

This PR implements the onCancel from OnCancelableCallback, if a user executes an long ease animation and interrupts it with a gesture the onCancel will now be invoked.

Review @ivovandongen

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Nov 3, 2016
@tobrun tobrun added this to the android-v4.2.0 milestone Nov 3, 2016
@mention-bot
Copy link

@tobrun, thanks for your PR! By analyzing the history of the files in this pull request, we identified @cammace, @ljbade and @bleege to be potential reviewers.

Copy link
Contributor

@cammace cammace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cammace cammace merged commit 7a03d88 into release-android-v4.2.0 Nov 3, 2016
@cammace cammace deleted the tobrun-cancelable-callback-invocation branch November 3, 2016 16:27
tobrun added a commit that referenced this pull request Nov 7, 2016
* [android] - allow onCancel to be invoked from camera cancel callbacks

* set to null after finish
tobrun added a commit that referenced this pull request Nov 9, 2016
* [android] - MyLocationView should facing above when location and compass bearing tracking are enabled. (#6829)

* [android] - use current animated rotation value for calculating animated marker rotation difference (#6826)

fix unit tests, input limiting is not handled by animateRotationBy instead of MarkerView.
Changed test to validate if method was called with correct value.

* [android] - only calculated offset margins for InfoWindow if View is found in current viewport, added example to the test app to test for regressions (#6877)

* upgraded okhttp dependency to latest version (#6880)

* Cancelable callback invocation (#6891)

* [android] - allow onCancel to be invoked from camera cancel callbacks

* set to null after finish

* [android]  - using bearing clockwise versus counterclockwise (#6917)

* [android]  - using bearing clockwise versus counterclockwise

* fixup brackets

* [android] - convert bearing values from core to Android SDK equivalent.
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.

3 participants