-
public interface SlideToActView.OnSlideToActAnimationEventListenerEvent handler for the SlideToActView animation events. This event handler can be used to react to animation events from the Slide, the event will be fired whenever an animation start/end.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonSlideCompleteAnimationStarted(SlideToActView view, Float threshold)Called when the slide complete animation start. abstract UnitonSlideCompleteAnimationEnded(SlideToActView view)Called when the slide complete animation finish. abstract UnitonSlideResetAnimationStarted(SlideToActView view)Called when the slide reset animation start. abstract UnitonSlideResetAnimationEnded(SlideToActView view)Called when the slide reset animation finish. -
-
Method Detail
-
onSlideCompleteAnimationStarted
abstract Unit onSlideCompleteAnimationStarted(SlideToActView view, Float threshold)
Called when the slide complete animation start. You can perform actions during the complete animations.
- Parameters:
view- The SlideToActView who created the eventthreshold- The mPosition (in percentage 0f,1f) where the user has left the cursor
-
onSlideCompleteAnimationEnded
abstract Unit onSlideCompleteAnimationEnded(SlideToActView view)
Called when the slide complete animation finish. At this point the slider is stuck in the center of the slider.
- Parameters:
view- The SlideToActView who created the event
-
onSlideResetAnimationStarted
abstract Unit onSlideResetAnimationStarted(SlideToActView view)
Called when the slide reset animation start. You can perform actions during the reset animations.
- Parameters:
view- The SlideToActView who created the event
-
onSlideResetAnimationEnded
abstract Unit onSlideResetAnimationEnded(SlideToActView view)
Called when the slide reset animation finish. At this point the slider will be in the ready on the left of the screen and user can interact with it.
- Parameters:
view- The SlideToActView who created the event
-
-
-
-