core-ktx / androidx.transition / android.transition.Transition / doOnPause

doOnPause

fun Transition.doOnPause(action: (transition: Transition) -> Unit): Unit

Add an action which will be invoked when this transition has been paused.