MaterialContainerTransformSharedElementCallback

Constructors

constructor()

Types

Link copied to clipboard
Link copied to clipboard
interface ShapeProvider
Allows providing a ShapeAppearanceModel for the shared element view.

Functions

Link copied to clipboard
Returns whether incoming Activity's sharedElementReenterTransition will be respected.
Link copied to clipboard
Returns whether the incoming window's background should be made transparent during the transition.
Link copied to clipboard
open fun onCaptureSharedElementSnapshot(@NonNull sharedElement: View, @NonNull viewToGlobalMatrix: Matrix, @NonNull screenBounds: RectF): Parcelable
Link copied to clipboard
Link copied to clipboard
open fun onMapSharedElements(@NonNull names: List<String>, @NonNull sharedElements: Map<String, View>)
Link copied to clipboard
open fun onSharedElementEnd(@NonNull sharedElementNames: List<String>, @NonNull sharedElements: List<View>, @NonNull sharedElementSnapshots: List<View>)
Link copied to clipboard
open fun onSharedElementStart(@NonNull sharedElementNames: List<String>, @NonNull sharedElements: List<View>, @NonNull sharedElementSnapshots: List<View>)
Link copied to clipboard
open fun setSharedElementReenterTransitionEnabled(sharedElementReenterTransitionEnabled: Boolean)
If enabled, the Activity's sharedElementReenterTransition will be respected; otherwise it will be set to null.
Link copied to clipboard
open fun setTransparentWindowBackgroundEnabled(transparentWindowBackgroundEnabled: Boolean)
If enabled, the incoming window's background will be made transparent during the transition.