Skip to content

Most visited

Recently visited

navigation
Added in API level 1

Animation.AnimationListener

public static interface Animation.AnimationListener

android.view.animation.Animation.AnimationListener


An animation listener receives notifications from an animation. Notifications indicate animation related events, such as the end or the repetition of the animation.

Summary

Public methods

abstract void onAnimationEnd(Animation animation)

Notifies the end of the animation.

abstract void onAnimationRepeat(Animation animation)

Notifies the repetition of the animation.

abstract void onAnimationStart(Animation animation)

Notifies the start of the animation.

Public methods

onAnimationEnd

Added in API level 1
void onAnimationEnd (Animation animation)

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

Parameters
animation Animation: The animation which reached its end.

onAnimationRepeat

Added in API level 1
void onAnimationRepeat (Animation animation)

Notifies the repetition of the animation.

Parameters
animation Animation: The animation which was repeated.

onAnimationStart

Added in API level 1
void onAnimationStart (Animation animation)

Notifies the start of the animation.

Parameters
animation Animation: The started animation.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.