SharedFadeTransition

Transitions between a view and its copy by MirrorView.

This can be typically used in a shared element transition where the shared element is necessary only during the animation. The shared element needs to exist and laid out on both sides of the transition in order to animate between them, but it can be wasteful to create the exact same view on the side where it is not functional. This transition matches the substance and its mirror and animate between them. Depending on which of the start or the end state is the substance of MirrorView, the animation either fades into it or fades out of it.

This can be combined with other Transitions. For example, ChangeTransform can translate the position of the substance view or the mirror view along with this transition.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
open override fun captureEndValues(transitionValues: TransitionValues)
Link copied to clipboard
open override fun captureStartValues(transitionValues: TransitionValues)
Link copied to clipboard
open override fun clone(): Transition
Link copied to clipboard
open override fun createAnimator(sceneRoot: ViewGroup, startValues: TransitionValues?, endValues: TransitionValues?): Animator?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDuration(): Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getName(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getStartDelay(): Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getTransitionProperties(): Array<String>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setMatchOrder(@Nullable vararg p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String