Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Ctors](https://developer.android.com/reference/android/animation/AnimatorListenerAdapter#pubctors) \| [Methods](https://developer.android.com/reference/android/animation/AnimatorListenerAdapter#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/animation/AnimatorListenerAdapter#inhmethods)

# AnimatorListenerAdapter

*** ** * ** ***

` public abstract class AnimatorListenerAdapter `   
` extends https://developer.android.com/reference/java/lang/Object ` ` implements https://developer.android.com/reference/android/animation/Animator.AnimatorListener, https://developer.android.com/reference/android/animation/Animator.AnimatorPauseListener `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.animation.AnimatorListenerAdapter |

<br />

*** ** * ** ***

This adapter class provides empty implementations of the methods from `https://developer.android.com/reference/android/animation/Animator.AnimatorListener`. Any custom listener that cares only about a subset of the methods of this listener can simply subclass this adapter class instead of implementing the interface directly.

## Summary

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/animation/AnimatorListenerAdapter#AnimatorListenerAdapter()() ` |

| ### Public methods ||
|---|---|
| ` void` | ` https://developer.android.com/reference/android/animation/AnimatorListenerAdapter#onAnimationCancel(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) ` <br /> Notifies the cancellation of the animation. |
| ` void` | ` https://developer.android.com/reference/android/animation/AnimatorListenerAdapter#onAnimationEnd(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) ` <br /> Notifies the end of the animation. |
| ` void` | ` https://developer.android.com/reference/android/animation/AnimatorListenerAdapter#onAnimationPause(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) ` <br /> Notifies that the animation was paused. |
| ` void` | ` https://developer.android.com/reference/android/animation/AnimatorListenerAdapter#onAnimationRepeat(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) ` <br /> Notifies the repetition of the animation. |
| ` void` | ` https://developer.android.com/reference/android/animation/AnimatorListenerAdapter#onAnimationResume(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) ` <br /> Notifies that the animation was resumed, after being previously paused. |
| ` void` | ` https://developer.android.com/reference/android/animation/AnimatorListenerAdapter#onAnimationStart(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) ` <br /> Notifies the start of the animation. |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.
From interface ` https://developer.android.com/reference/android/animation/Animator.AnimatorListener ` ` abstract void` ` https://developer.android.com/reference/android/animation/Animator.AnimatorListener#onAnimationCancel(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) `

<br />

Notifies the cancellation of the animation.
` abstract void` ` https://developer.android.com/reference/android/animation/Animator.AnimatorListener#onAnimationEnd(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) `

<br />

Notifies the end of the animation.
` default void` ` https://developer.android.com/reference/android/animation/Animator.AnimatorListener#onAnimationEnd(android.animation.Animator,%20boolean)(https://developer.android.com/reference/android/animation/Animator animation, boolean isReverse) `

<br />

Notifies the end of the animation.
` abstract void` ` https://developer.android.com/reference/android/animation/Animator.AnimatorListener#onAnimationRepeat(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) `

<br />

Notifies the repetition of the animation.
` abstract void` ` https://developer.android.com/reference/android/animation/Animator.AnimatorListener#onAnimationStart(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) `

<br />

Notifies the start of the animation.
` default void` ` https://developer.android.com/reference/android/animation/Animator.AnimatorListener#onAnimationStart(android.animation.Animator,%20boolean)(https://developer.android.com/reference/android/animation/Animator animation, boolean isReverse) `

<br />

Notifies the start of the animation as well as the animation's overall play direction.
From interface ` https://developer.android.com/reference/android/animation/Animator.AnimatorPauseListener ` ` abstract void` ` https://developer.android.com/reference/android/animation/Animator.AnimatorPauseListener#onAnimationPause(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) `

<br />

Notifies that the animation was paused.
` abstract void` ` https://developer.android.com/reference/android/animation/Animator.AnimatorPauseListener#onAnimationResume(android.animation.Animator)(https://developer.android.com/reference/android/animation/Animator animation) `

<br />

Notifies that the animation was resumed, after being previously paused.

## Public constructors

### AnimatorListenerAdapter

```
public AnimatorListenerAdapter ()
```

<br />

<br />

## Public methods

### onAnimationCancel

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public void onAnimationCancel (Animator animation)
```

<br />

Notifies the cancellation of the animation. This callback is not invoked for animations with repeat count set to INFINITE.

<br />

<br />

| Parameters ||
|---|---|
| `animation` | `Animator`: The animation which was canceled. This value cannot be `null`. <br /> |

### onAnimationEnd

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public void onAnimationEnd (Animator animation)
```

<br />

Notifies the end of the animation. This callback is not invoked for animations with repeat count set to INFINITE.

<br />

<br />

| Parameters ||
|---|---|
| `animation` | `Animator`: The animation which reached its end. This value cannot be `null`. <br /> |

### onAnimationPause

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public void onAnimationPause (Animator animation)
```

<br />

Notifies that the animation was paused.

<br />

<br />

| Parameters ||
|---|---|
| `animation` | `Animator`: The animaton being paused. This value cannot be `null`. <br /> |

### onAnimationRepeat

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public void onAnimationRepeat (Animator animation)
```

<br />

Notifies the repetition of the animation.

<br />

<br />

| Parameters ||
|---|---|
| `animation` | `Animator`: The animation which was repeated. This value cannot be `null`. <br /> |

### onAnimationResume

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public void onAnimationResume (Animator animation)
```

<br />

Notifies that the animation was resumed, after being previously paused.

<br />

<br />

| Parameters ||
|---|---|
| `animation` | `Animator`: The animation being resumed. This value cannot be `null`. <br /> |

### onAnimationStart

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public void onAnimationStart (Animator animation)
```

<br />

Notifies the start of the animation.

<br />

<br />

| Parameters ||
|---|---|
| `animation` | `Animator`: The started animation. This value cannot be `null`. <br /> |