# MaterialContainerTransformSharedElementCallback.ShapeableViewShapeProvider

[View Source](https://github.com/material-components/material-components-android/blob/1.14.0/lib/java/com/google/android/material/transition/platform/MaterialContainerTransformSharedElementCallback.java)

*** ** * ** ***


```
public class MaterialContainerTransformSharedElementCallback.ShapeableViewShapeProvider implements MaterialContainerTransformSharedElementCallback.ShapeProvider
```

<br />

*** ** * ** ***

A `https://developer.android.com/reference/com/google/android/material/transition/platform/MaterialContainerTransformSharedElementCallback.ShapeProvider` that provides the view's `https://developer.android.com/reference/com/google/android/material/shape/ShapeAppearanceModel` if the view implements the `https://developer.android.com/reference/com/google/android/material/shape/Shapeable` interface.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/com/google/android/material/transition/platform/MaterialContainerTransformSharedElementCallback.ShapeableViewShapeProvider#ShapeableViewShapeProvider()()` |

| ### Public methods |
|---|---|
| `https://developer.android.com/reference/com/google/android/material/shape/ShapeAppearanceModel` | `https://developer.android.com/reference/com/google/android/material/transition/platform/MaterialContainerTransformSharedElementCallback.ShapeableViewShapeProvider#provideShape(View)(View sharedElement)` |

## Public constructors

### ShapeableViewShapeProvider

```
public ShapeableViewShapeProvider()
```

## Public methods

### provideShape

```
public ShapeAppearanceModel provideShape(View sharedElement)
```