then

abstract infix fun <T> Animation<T>.then(block: Animator.AnimationBlock.() -> Unit): Animation<Any>(source)

Starts a new animation block after this animation completes. This animation is linked to the current one and will be canceled if the current one is.

Return

a new animation

Parameters

block

to execute upon completion of this animation