public static interface

BitmapAnimationBackend.FrameListener

com.facebook.fresco.animation.bitmap.BitmapAnimationBackend.FrameListener

Summary

Public Methods
abstract void onDrawFrameStart(BitmapAnimationBackend backend, int frameNumber)
Called when the backend started drawing the given frame.
abstract void onFrameDrawn(BitmapAnimationBackend backend, int frameNumber, int frameType)
Called when the given frame has been drawn.
abstract void onFrameDropped(BitmapAnimationBackend backend, int frameNumber)
Called when no bitmap could be drawn by the backend for the given frame number.

Public Methods

public abstract void onDrawFrameStart (BitmapAnimationBackend backend, int frameNumber)

Called when the backend started drawing the given frame.

Parameters
backend the backend
frameNumber the frame number to be drawn

public abstract void onFrameDrawn (BitmapAnimationBackend backend, int frameNumber, int frameType)

Called when the given frame has been drawn.

Parameters
backend the backend
frameNumber the frame number that has been drawn
frameType the BitmapAnimationBackend.FrameType that has been drawn

public abstract void onFrameDropped (BitmapAnimationBackend backend, int frameNumber)

Called when no bitmap could be drawn by the backend for the given frame number.

Parameters
backend the backend
frameNumber the frame number that could not be drawn