Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static interface

Animator.AnimatorListener

android.animation.Animator.AnimatorListener
Known Indirect Subclasses

Class Overview

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 onAnimationCancel ( Animator animation)

Notifies the cancellation of the animation.

abstract void onAnimationEnd ( Animator animation)

Notifies the end of the animation.

abstract void onAnimationRepeat ( Animator animation)

Notifies the repetition of the animation.

abstract void onAnimationStart ( Animator animation)

Notifies the start of the animation.

Public Methods

public abstract void onAnimationCancel ( Animator animation)

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

Parameters
animation The animation which was canceled.

public abstract void onAnimationEnd ( Animator animation)

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

Parameters
animation The animation which reached its end.

public abstract void onAnimationRepeat ( Animator animation)

Notifies the repetition of the animation.

Parameters
animation The animation which was repeated.

public abstract void onAnimationStart ( Animator animation)

Notifies the start of the animation.

Parameters
animation The started animation.