# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Nested Classes | Methods | Inherited Methods

# Animatable2

`public interface Animatable2`
`implements Animatable`

android.graphics.drawable.Animatable2

Known indirect subclasses AnimatedImageDrawable, AnimatedVectorDrawable
AnimatedImageDrawable | `Drawable` for drawing animated images (like GIF).
AnimatedVectorDrawable | This class animates properties of a `VectorDrawable` with animations defined using `ObjectAnimator` or `AnimatorSet`.

Abstract class that drawables supporting animations and callbacks should extend.

## Summary

### Nested classes
`class` | `Animatable2.AnimationCallback`

### Public methods
`abstract void` | `clearAnimationCallbacks()` Removes all existing animation callbacks.
`abstract void` | `registerAnimationCallback(Animatable2.AnimationCallback callback)` Adds a callback to listen to the animation events.
`abstract boolean` | `unregisterAnimationCallback(Animatable2.AnimationCallback callback)` Removes the specified animation callback.

### Inherited methods
From interface `android.graphics.drawable.Animatable`
`abstract boolean` | `isRunning()` Indicates whether the animation is running.
`abstract void` | `start()` Starts the drawable's animation.
`abstract void` | `stop()` Stops the drawable's animation.

## Public methods

### clearAnimationCallbacks

    public abstract void clearAnimationCallbacks ()

Removes all existing animation callbacks.

### registerAnimationCallback

    public abstract void registerAnimationCallback (Animatable2.AnimationCallback callback)

Adds a callback to listen to the animation events.

Parameters
`callback` | `Animatable2.AnimationCallback`: Callback to add. This value cannot be `null`.

### unregisterAnimationCallback

    public abstract boolean unregisterAnimationCallback (Animatable2.AnimationCallback callback)

Removes the specified animation callback.

Parameters
`callback` | `Animatable2.AnimationCallback`: Callback to remove. This value cannot be `null`.

Returns
`boolean` | `false` if callback didn't exist in the call back list, or `true` if callback has been removed successfully.

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*