doOnCancel

inline fun Animator.doOnCancel(crossinline action: (animator: Animator) -> Unit): Animator.AnimatorListener(source)

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

Return

the Animator.AnimatorListener added to the Animator

See also