public static interface

PAGView.PAGViewListener

org.libpag.PAGView.PAGViewListener

Summary

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

Public Methods

public abstract void onAnimationCancel (PAGView 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 (PAGView view)

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

public abstract void onAnimationRepeat (PAGView view)

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

public abstract void onAnimationStart (PAGView 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 (PAGView view)

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