Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

Explode

open class Explode : Visibility
kotlin.Any
   ↳ androidx.transition.Transition
   ↳ androidx.transition.Visibility
   ↳ androidx.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

<init>(context: Context!, attrs: AttributeSet!)

Public methods
open Unit
captureEndValues(@NonNull transitionValues: TransitionValues)

open Unit
captureStartValues(@NonNull transitionValues: TransitionValues)

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

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

Inherited functions

Public constructors

<init>

Explode()

<init>

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

Public methods

captureEndValues

open fun captureEndValues(@NonNull transitionValues: TransitionValues): Unit

captureStartValues

open fun captureStartValues(@NonNull transitionValues: TransitionValues): Unit

onAppear

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

onDisappear

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