AnimatorPauseListener

interface AnimatorPauseListener
androidx.core.animation.Animator.AnimatorPauseListener

A pause listener receives notifications from an animation when the animation is paused or resumed.

Summary

Public methods
abstract Unit
onAnimationPause(@NonNull animation: Animator)

Notifies that the animation was paused.

abstract Unit
onAnimationResume(@NonNull animation: Animator)

Notifies that the animation was resumed, after being previously paused.

Public methods

onAnimationPause

abstract fun onAnimationPause(@NonNull animation: Animator): Unit

Notifies that the animation was paused.

Parameters
animation Animator: The animaton being paused.

See Also

onAnimationResume

abstract fun onAnimationResume(@NonNull animation: Animator): Unit

Notifies that the animation was resumed, after being previously paused.

Parameters
animation Animator: The animation being resumed.

See Also