core-ktx / androidx.animation / android.animation.Animator / doOnPause

doOnPause

fun Animator.doOnPause(action: (animator: Animator) -> Unit): AnimatorPauseListener

Add an action which will be invoked when the animation has been paused.

Return
the Animator.AnimatorPauseListener added to the Animator

See Also

Animator.pause