com.facebook.imagepipeline.producers.ThumbnailProducer<T> |
Known Indirect Subclasses |
Implemented producers can be queried for whether they are likely to be able to produce a result of the desired size.
produceResults(Consumer, ProducerContext)
may send a null image to the consumer, even
if an image is available, if the ultimate image is smaller than wanted. This may happen even if
the producer thought it would be able to satisfy the request.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
canProvideImageForSize(ResizeOptions resizeOptions)
Checks whether the producer may be able to produce images of the specified size.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.facebook.imagepipeline.producers.Producer
|
Checks whether the producer may be able to produce images of the specified size. This makes no promise about being able to produce images for a particular source, only generally being able to produce output of the desired resolution.
resizeOptions | the resize options from the current request |
---|