setAnimationEndListener

fun Animation.setAnimationEndListener(onAnimationEnd: () -> Unit)

Sets the animation listener on the animation, dispatching only the AnimationListener.onAnimationEnd callback.

Note: This clears any animation listener previously set with Animation.setAnimationListener, and will be cleared by any subsequent call.