Added in API level 19
AnimatorPauseListener
interface AnimatorPauseListener
android.animation.Animator.AnimatorPauseListener |
A pause listener receives notifications from an animation when the animation is paused
or resumed
.
Summary
Public methods | |
---|---|
abstract Unit |
onAnimationPause(animation: Animator) Notifies that the animation was paused. |
abstract Unit |
onAnimationResume(animation: Animator) Notifies that the animation was resumed, after being previously paused. |
Public methods
onAnimationPause
Added in API level 19
abstract fun onAnimationPause(animation: Animator): Unit
Notifies that the animation was paused.
Parameters | |
---|---|
animation |
Animator: The animaton being paused. This value cannot be null . |
See Also
onAnimationResume
Added in API level 19
abstract fun onAnimationResume(animation: Animator): Unit
Notifies that the animation was resumed, after being previously paused.
Parameters | |
---|---|
animation |
Animator: The animation being resumed. This value cannot be null . |
See Also