public class

AnimatedDrawableFactoryImplSupport

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

Class Overview

Factory for instances of AnimatedDrawableSupport.

Summary

Public Constructors
AnimatedDrawableFactoryImplSupport(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 AnimatedDrawableFactoryImplSupport (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
  • a newly constructed AnimatedDrawable