fun Transition.addListener(onEnd: (transition: Transition) -> Unit = null, onStart: (transition: Transition) -> Unit = null, onCancel: (transition: Transition) -> Unit = null, onResume: (transition: Transition) -> Unit = null, onPause: (transition: Transition) -> Unit = null): Unit
Add a listener to this Transition using the provided actions. |
|
fun Transition.doOnCancel(action: (transition: Transition) -> Unit): Unit
Add an action which will be invoked when this transition has been cancelled. |
|
fun Transition.doOnEnd(action: (transition: Transition) -> Unit): Unit
Add an action which will be invoked when this transition has ended. |
|
fun Transition.doOnPause(action: (transition: Transition) -> Unit): Unit
Add an action which will be invoked when this transition has been paused. |
|
fun Transition.doOnResume(action: (transition: Transition) -> Unit): Unit
Add an action which will be invoked when this transition has resumed after a pause. |
|
fun Transition.doOnStart(action: (transition: Transition) -> Unit): Unit
Add an action which will be invoked when this transition has started. |