onDisappear

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

Creates an animator for the view disappearing from screen.

Return

An animator that will animate the view disappearance, or null if no animation should run.

Parameters

sceneRoot

The root of the transition hierarchy.

view

The view that is disappearing.

startValues

The start values captured during captureStartValues.

endValues

The end values captured during captureEndValues.