public class

BranchOnSeparateImagesProducer

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

Class Overview

Producer that coordinates fetching two separate images.

The first producer is kicked off, and once it has returned all its results, the second producer is kicked off if necessary.

Summary

Public Constructors
BranchOnSeparateImagesProducer(Producer<EncodedImage> inputProducer1, Producer<EncodedImage> inputProducer2)
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 BranchOnSeparateImagesProducer (Producer<EncodedImage> inputProducer1, Producer<EncodedImage> inputProducer2)

Public Methods

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