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

doOnRepeat

fun Animator.doOnRepeat(action: (animator: Animator) -> Unit): AnimatorListener

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

Return
the Animator.AnimatorListener added to the Animator