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

MaterialContainerTransformSharedElementCallback.ShapeableViewShapeProvider

public static class MaterialContainerTransformSharedElementCallback.ShapeableViewShapeProvider
extends Object implements MaterialContainerTransformSharedElementCallback.ShapeProvider

java.lang.Object
   ↳ com.google.android.material.transition.platform.MaterialContainerTransformSharedElementCallback.ShapeableViewShapeProvider


A MaterialContainerTransformSharedElementCallback.ShapeProvider that provides the view's ShapeAppearanceModel if the view implements the Shapeable interface.

Summary

Public constructors

MaterialContainerTransformSharedElementCallback.ShapeableViewShapeProvider()

Public methods

ShapeAppearanceModel provideShape(View sharedElement)

Inherited methods

From class java.lang.Object
From interface com.google.android.material.transition.platform.MaterialContainerTransformSharedElementCallback.ShapeProvider

Public constructors

MaterialContainerTransformSharedElementCallback.ShapeableViewShapeProvider

MaterialContainerTransformSharedElementCallback.ShapeableViewShapeProvider ()

Public methods

provideShape

ShapeAppearanceModel provideShape (View sharedElement)

Parameters
sharedElement View

Returns
ShapeAppearanceModel