public class

ThumbnailBranchProducer

extends Object
implements Producer<T>
java.lang.Object
   ↳ com.facebook.imagepipeline.producers.ThumbnailBranchProducer

Class Overview

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

Summary

Public Constructors
ThumbnailBranchProducer(ThumbnailProducer...<EncodedImage> thumbnailProducers)
Public Methods
void produceResults(Consumer<EncodedImage> consumer, ProducerContext context)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.producers.Producer

Public Constructors

public ThumbnailBranchProducer (ThumbnailProducer...<EncodedImage> thumbnailProducers)

Public Methods

public void produceResults (Consumer<EncodedImage> consumer, ProducerContext context)