java.lang.Object | |
↳ | com.facebook.fresco.animation.factory.ExperimentalAnimationFactory |
Animation factory for AnimatedDrawable2
.
This basically mimics the backend creation of
AnimatedDrawableFactoryImpl
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ExperimentalAnimationFactory(AnimatedDrawableBackendProvider animatedDrawableBackendProvider, AnimatedDrawableCachingBackendImplProvider animatedDrawableCachingBackendProvider, ScheduledExecutorService scheduledExecutorServiceForUiThread, MonotonicClock monotonicClock) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AnimatedDrawable2 |
createDrawable(CloseableImage image)
Create a drawable for the given image.
| ||||||||||
boolean |
supportsImageType(CloseableImage image)
Returns true if the factory can create a Drawable for the given image.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Create a drawable for the given image.
It is guaranteed that this method is only called if
supportsImageType(CloseableImage)
returned true.
image | the image to create the drawable for |
---|
Returns true if the factory can create a Drawable for the given image.
image | the image to check |
---|