public static interface

BitmapFrameCache.FrameCacheListener

com.facebook.fresco.animation.bitmap.BitmapFrameCache.FrameCacheListener

Summary

Public Methods
abstract void onFrameCached(BitmapFrameCache bitmapFrameCache, int frameNumber)
Called when the frame for the given frame number has been put in the frame cache.
abstract void onFrameEvicted(BitmapFrameCache bitmapFrameCache, int frameNumber)
Called when the frame for the given frame number has been evicted from the frame cache.

Public Methods

public abstract void onFrameCached (BitmapFrameCache bitmapFrameCache, int frameNumber)

Called when the frame for the given frame number has been put in the frame cache.

Parameters
bitmapFrameCache the frame cache that holds the frame
frameNumber the cached frame number

public abstract void onFrameEvicted (BitmapFrameCache bitmapFrameCache, int frameNumber)

Called when the frame for the given frame number has been evicted from the frame cache.

Parameters
bitmapFrameCache the frame cache that evicted the frame
frameNumber the frame number of the evicted frame