Added in API level 21

Explode


open class Explode : Visibility
kotlin.Any
   ↳ android.transition.Transition
   ↳ android.transition.Visibility
   ↳ android.transition.Explode

This transition tracks changes to the visibility of target views in the start and end scenes and moves views in or out from the edges of the scene. Visibility is determined by both the View.setVisibility(int) state of the view as well as whether it is parented in the current view hierarchy. Disappearing Views are limited as described in Visibility.onDisappear(android.view.ViewGroup,TransitionValues,int,TransitionValues,int).

Views move away from the focal View or the center of the Scene if no epicenter was provided.

Summary

Inherited constants
Public constructors

Explode(context: Context!, attrs: AttributeSet!)

Public methods
open Unit
captureEndValues(transitionValues: TransitionValues!)

Captures the values in the end scene for the properties that this transition monitors.

open Unit

Captures the values in the start scene for the properties that this transition monitors.

open Animator!
onAppear(sceneRoot: ViewGroup!, view: View!, startValues: TransitionValues!, endValues: TransitionValues!)

The default implementation of this method returns a null Animator.

open Animator!
onDisappear(sceneRoot: ViewGroup!, view: View!, startValues: TransitionValues!, endValues: TransitionValues!)

The default implementation of this method returns a null Animator.

Inherited functions