fun ViewGroup.cancelTransitions(): Unit
Cancels all animations running on this |
|
fun ViewGroup.prepareAutoTransition(cancel: Boolean = false, autoTransitionBuilder: AutoTransitionBuilder.() -> Unit = {}): Unit
Schedules a call to TransitionManager.beginDelayedTransition with receiver ViewGroup as the scene root. autoTransitionBuilder uses a AutoTransition instance internally and its properties can be modified by using available methods from AutoTransitionBuilder. |
|
fun ViewGroup.prepareTransition(cancel: Boolean = false, transitionsBuilder: DefaultTransitionSetBuilder.() -> Unit = {}): Unit
Schedules a call to TransitionManager.beginDelayedTransition with receiver ViewGroup as the scene root. transitionsBuilder uses a TransitionSet instance internally and its properties can be modified by using available methods from DefaultTransitionSetBuilder fun ViewGroup.prepareTransition(cancel: Boolean = false, transition: Transition): Unit
Calls TransitionManager.beginDelayedTransition with this ViewGroup and transition as the parameter. |