com.facebook.imagepipeline.producers.Producer<T> |
Building block for image processing in the image pipeline.
Execution of image request consists of multiple different tasks such as network fetch, disk
caching, memory caching, decoding, applying transformations etc. Producer Producer supports multiple values and streaming.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
produceResults(Consumer<T> consumer, ProducerContext context)
Start producing results for given context.
|
Start producing results for given context. Provided consumer is notified whenever progress is made (new value is ready or error occurs).