# AnimatableView

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

*** ** * ** ***


```
public interface AnimatableView
```

<br />

*** ** * ** ***

Represents a View that provides animation callbacks. Implement this interface when another class needs to start your View's animation with a callback.

## Summary

| ### Nested types |
|---|
| `public interface https://developer.android.com/reference/com/google/android/material/animation/AnimatableView.Listener` Represents a callback for an `https://developer.android.com/reference/com/google/android/material/animation/AnimatableView`. |

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/com/google/android/material/animation/AnimatableView#startAnimation(com.google.android.material.animation.AnimatableView.Listener)(https://developer.android.com/reference/com/google/android/material/animation/AnimatableView.Listener listener)` |
| `abstract void` | `https://developer.android.com/reference/com/google/android/material/animation/AnimatableView#stopAnimation()()` |

## Public methods

### startAnimation

```
abstract void startAnimation(AnimatableView.Listener listener)
```

### stopAnimation

```
abstract void stopAnimation()
```