Package-level declarations
Functions
Link copied to clipboard
inline fun Animator.addListener(crossinline onEnd: (animator: Animator) -> Unit = {}, crossinline onStart: (animator: Animator) -> Unit = {}, crossinline onCancel: (animator: Animator) -> Unit = {}, crossinline onRepeat: (animator: Animator) -> Unit = {}): Animator.AnimatorListener
Add a listener to this Animator using the provided actions.
Link copied to clipboard
fun Animator.addPauseListener(onResume: (animator: Animator) -> Unit = {}, onPause: (animator: Animator) -> Unit = {}): Animator.AnimatorPauseListener
Add a pause and resume listener to this Animator using the provided actions.
Link copied to clipboard
inline fun Animator.doOnCancel(crossinline action: (animator: Animator) -> Unit): Animator.AnimatorListener
Add an action which will be invoked when the animation has been cancelled.
Link copied to clipboard
inline fun Animator.doOnRepeat(crossinline action: (animator: Animator) -> Unit): Animator.AnimatorListener
Add an action which will be invoked when the animation has repeated.
Link copied to clipboard
Add an action which will be invoked when the animation has resumed after a pause.