Android
android.view.animation
public static interface

android.view.animation.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

          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.

Details

Public Methods

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

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

public void onAnimationStart(Animation animation)

Notifies the start of the animation.

Parameters

animation The started animation.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56