public class

AnimatedDrawableFactoryImpl

extends Object
implements AnimatedDrawableFactory
java.lang.Object
   ↳ com.facebook.imagepipeline.animated.factory.AnimatedDrawableFactoryImpl

Class Overview

Factory for instances of AnimatedDrawable.

Summary

Public Constructors
AnimatedDrawableFactoryImpl(AnimatedDrawableBackendProvider animatedDrawableBackendProvider, AnimatedDrawableCachingBackendImplProvider animatedDrawableCachingBackendProvider, AnimatedDrawableUtil animatedDrawableUtil, ScheduledExecutorService scheduledExecutorService, Resources resources)
Public Methods
Drawable create(CloseableImage closeableImage)
Creates an AnimatedDrawable based on an CloseableImage which should be a CloseableAnimatedImage.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.animated.factory.AnimatedDrawableFactory

Public Constructors

public AnimatedDrawableFactoryImpl (AnimatedDrawableBackendProvider animatedDrawableBackendProvider, AnimatedDrawableCachingBackendImplProvider animatedDrawableCachingBackendProvider, AnimatedDrawableUtil animatedDrawableUtil, ScheduledExecutorService scheduledExecutorService, Resources resources)

Public Methods

public Drawable create (CloseableImage closeableImage)

Creates an AnimatedDrawable based on an CloseableImage which should be a CloseableAnimatedImage.

Parameters
closeableImage The CloseableAnimatedImage to use for the AnimatedDrawable
Returns