public static interface

PAGImageView.PAGImageViewListener

org.libpag.PAGImageView.PAGImageViewListener

Summary

Public Methods
abstract void onAnimationCancel(PAGImageView view)
Notifies the cancellation of the animation.
abstract void onAnimationEnd(PAGImageView view)
Notifies the end of the animation.
abstract void onAnimationRepeat(PAGImageView view)
Notifies the repetition of the animation.
abstract void onAnimationStart(PAGImageView view)
Notifies the start of the animation.
abstract void onAnimationUpdate(PAGImageView view)
Notifies another frame of the animation has occurred.

Public Methods

public abstract void onAnimationCancel (PAGImageView view)

Notifies the cancellation of the animation. It can be called from either the UI thread or the thread that calls the stop() method.

public abstract void onAnimationEnd (PAGImageView view)

Notifies the end of the animation. It can only be called from the UI thread.

public abstract void onAnimationRepeat (PAGImageView view)

Notifies the repetition of the animation. It can only be called from the UI thread.

public abstract void onAnimationStart (PAGImageView view)

Notifies the start of the animation. It can be called from either the UI thread or the thread that calls the play() method.

public abstract void onAnimationUpdate (PAGImageView view)

Notifies another frame of the animation has occurred. It may be called from an arbitrary thread if the animation is running asynchronously.