addPauseListener

fun Animator.addPauseListener(onResume: (animator: Animator) -> Unit = {}, onPause: (animator: Animator) -> Unit = {}): Animator.AnimatorPauseListener(source)

Add a pause and resume listener to this Animator using the provided actions.

Return

the Animator.AnimatorPauseListener added to the Animator