MaterialContainerTransformSharedElementCallback.ShapeProvider

public static interface MaterialContainerTransformSharedElementCallback.ShapeProvider

com.google.android.material.transition.platform.MaterialContainerTransformSharedElementCallback.ShapeProvider


Allows providing a ShapeAppearanceModel for the shared element view.

Summary

Public methods

abstract ShapeAppearanceModel provideShape(View sharedElement)

Public methods

provideShape

public abstract ShapeAppearanceModel provideShape (View sharedElement)

Parameters
sharedElement View

Returns
ShapeAppearanceModel