| com.facebook.imagepipeline.drawable.DrawableFactory |
Known Indirect Subclasses
|
Drawable factory to create Drawables for given images.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract Drawable |
createDrawable(CloseableImage image)
Create a drawable for the given image.
| ||||||||||
| abstract boolean |
supportsImageType(CloseableImage image)
Returns true if the factory can create a Drawable for the given image.
| ||||||||||
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 |
|---|