| java.lang.Object | |
| ↳ | com.facebook.drawee.backends.pipeline.DefaultDrawableFactory |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DefaultDrawableFactory(Resources resources, DrawableFactory animatedDrawableFactory) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Drawable |
createDrawable(CloseableImage closeableImage)
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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.imagepipeline.drawable.DrawableFactory
| |||||||||||
Create a drawable for the given image. It is guaranteed that this method is only called if
supportsImageType(CloseableImage) returned true.
| closeableImage | 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 |
|---|