-
- All Implemented Interfaces:
-
com.facebook.imagepipeline.producers.Producer
public class ThumbnailBranchProducer implements Producer<EncodedImage>
Producer that will attempt to retrieve a thumbnail from one or more producers.
The producer will try to get a result from each producer only if there is a good chance of it being able to produce a sufficient result.
If no underlying producer can provide a suitable result, null result is returned to the consumer
-
-
Constructor Summary
Constructors Constructor Description ThumbnailBranchProducer(Array<ThumbnailProducer<EncodedImage>> thumbnailProducers)
-
Method Summary
Modifier and Type Method Description voidproduceResults(Consumer<EncodedImage> consumer, ProducerContext context)-
-
Constructor Detail
-
ThumbnailBranchProducer
ThumbnailBranchProducer(Array<ThumbnailProducer<EncodedImage>> thumbnailProducers)
-
-
Method Detail
-
produceResults
void produceResults(Consumer<EncodedImage> consumer, ProducerContext context)
-
-
-
-