-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add gestures protected animator owners API, make animator owners public #5
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, a couple of nits below. Also, could you add a test that verifies the cancelation behavior?
plugin-animation/src/main/java/com/mapbox/maps/plugin/animation/CameraAnimationsPluginImpl.kt
Outdated
Show resolved
Hide resolved
plugin-animation/src/main/java/com/mapbox/maps/plugin/animation/CameraAnimationsPluginImpl.kt
Outdated
Show resolved
Hide resolved
plugin-gestures/src/main/java/com/mapbox/maps/plugin/gestures/GesturesPluginImpl.kt
Outdated
Show resolved
Hide resolved
plugin-gestures/src/main/java/com/mapbox/maps/plugin/gestures/GesturesPluginImpl.kt
Outdated
Show resolved
Hide resolved
sdk-base/src/main/java/com/mapbox/maps/plugin/gestures/GesturesPlugin.kt
Outdated
Show resolved
Hide resolved
sdk-base/src/main/java/com/mapbox/maps/plugin/gestures/GesturesPlugin.kt
Outdated
Show resolved
Hide resolved
sdk-base/src/main/java/com/mapbox/maps/plugin/animation/CameraAnimationsPlugin.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions, others LGTM
plugin-gestures/src/main/java/com/mapbox/maps/plugin/gestures/GesturesPluginImpl.kt
Outdated
Show resolved
Hide resolved
plugin-animation/src/main/java/com/mapbox/maps/plugin/animation/CameraAnimationsPluginImpl.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, would love to see this in action, still a bit hard to wrap my head around how the actual code will look and how execution order/negation is handled.
<changelog>Add gestures protected animator owners API</changelog>
<changelog>Make animator owners public</changelog>
<changelog>Replace jumpTo with easeTo in gestures</changelog>