com.facebook.fresco.animation.bitmap.BitmapAnimationBackend.FrameListener |
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.
|
Called when the backend started drawing the given frame.
backend | the backend |
---|---|
frameNumber | the frame number to be drawn |
Called when the given frame has been drawn.
backend | the backend |
---|---|
frameNumber | the frame number that has been drawn |
frameType | the BitmapAnimationBackend.FrameType that has been drawn
|
Called when no bitmap could be drawn by the backend for the given frame number.
backend | the backend |
---|---|
frameNumber | the frame number that could not be drawn |