addListener

fun Animator.addListener(onEnd: (Animator) -> Unit = {}, onStart: (Animator) -> Unit = {}, onCancel: (Animator) -> Unit = {}, onRepeat: (Animator) -> Unit = {})