English | Site Directory

Android - An Open Handset Alliance Project

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()

Notifies the end of the animation.

        void  onAnimationRepeat()

Notifies the repetition of the animation.

        void  onAnimationStart()

Notifies the start of the animation.

Details

Public Methods

public void onAnimationEnd()

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

public void onAnimationRepeat()

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

public void onAnimationStart()

Notifies the start of the animation.

Build m5-rc15i - 10 Jun 2008 13:54