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

Cancelable callback invocation - #6891

Merged
cammace merged 2 commits into
release-android-v4.2.0from
tobrun-cancelable-callback-invocation
Nov 3, 2016
Merged

cammace merged 2 commits into
release-android-v4.2.0from
tobrun-cancelable-callback-invocation

Conversation

@tobrun

@tobrun tobrun commented Nov 3, 2016

Copy link
Copy Markdown
Member

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
Copy Markdown

@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.

@cammace cammace left a comment

Copy link
Copy Markdown
Contributor

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