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

ShapeableViewShapeProvider()

Public methods

ShapeAppearanceModel provideShape(View sharedElement)

Inherited methods

Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()
abstract ShapeAppearanceModel provideShape(View sharedElement)

Public constructors

ShapeableViewShapeProvider

public ShapeableViewShapeProvider ()

Public methods

provideShape

public ShapeAppearanceModel provideShape (View sharedElement)

Parameters
sharedElement View