public interface

BitmapFramePreparationStrategy

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

Class Overview

Frame preparation strategy to prepare next animation frames.

Summary

Public Methods
abstract void prepareFrames(BitmapFramePreparer bitmapFramePreparer, BitmapFrameCache bitmapFrameCache, AnimationBackend animationBackend, int lastDrawnFrameNumber)
Decide whether frames should be prepared ahead of time when a frame is drawn.

Public Methods

public abstract void prepareFrames (BitmapFramePreparer bitmapFramePreparer, BitmapFrameCache bitmapFrameCache, AnimationBackend animationBackend, int lastDrawnFrameNumber)

Decide whether frames should be prepared ahead of time when a frame is drawn.

Parameters
bitmapFramePreparer the preparer to be used to create frames
bitmapFrameCache the cache to pass to the preparer
animationBackend the animation backend to prepare frames for
lastDrawnFrameNumber the last drawn frame number