Build 1.0_r1(from source)

android.view.animation
Interface Animation.AnimationListener

Enclosing class:
Animation

public static interface 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.


Method Summary
 void onAnimationEnd(Animation animation)
          Notifies the end of the animation.
 void onAnimationRepeat(Animation animation)
          Notifies the repetition of the animation.
 void onAnimationStart(Animation animation)
          Notifies the start of the animation.
 

Method Detail

onAnimationStart

void onAnimationStart(Animation animation)

Notifies the start of the animation.

Parameters:
animation - The started animation.

onAnimationEnd

void onAnimationEnd(Animation animation)

Notifies the end of the animation. This callback is invoked only for animation with repeat mode set to NO_REPEAT.

Parameters:
animation - The animation which reached its end.

onAnimationRepeat

void onAnimationRepeat(Animation animation)

Notifies the repetition of the animation. This callback is invoked only for animation with repeat mode set to RESTART or REVERSE.

Parameters:
animation - The animation which was repeated.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature