public interface

BitmapFramePreparer

com.facebook.fresco.animation.bitmap.preparation.BitmapFramePreparer
Known Indirect Subclasses

Class Overview

Prepare frames for animated images ahead of time.

Summary

Public Methods
abstract boolean prepareFrame(BitmapFrameCache bitmapFrameCache, AnimationBackend animationBackend, int frameNumber)
Prepare the frame with the given frame number and notify the supplied bitmap frame cache once the frame is ready by calling onFramePrepared(int, CloseableReference, int)

Public Methods

public abstract boolean prepareFrame (BitmapFrameCache bitmapFrameCache, AnimationBackend animationBackend, int frameNumber)

Prepare the frame with the given frame number and notify the supplied bitmap frame cache once the frame is ready by calling onFramePrepared(int, CloseableReference, int)

Parameters
bitmapFrameCache the cache to notify for prepared frames
animationBackend the backend to prepare frames for