Google is committed to advancing racial equity for Black communities. See how.

MaterialContainerTransformSharedElementCallback.ShapeProvider

public static interface MaterialContainerTransformSharedElementCallback.ShapeProvider

com.google.android.material.transition.platform.MaterialContainerTransformSharedElementCallback.ShapeProvider
Known Indirect Subclasses


Allows providing a ShapeAppearanceModel for the shared element view.

Summary

Public methods

abstract ShapeAppearanceModel provideShape(View sharedElement)

Public methods

provideShape

ShapeAppearanceModel provideShape (View sharedElement)

Parameters
sharedElement View

Returns
ShapeAppearanceModel