public class

InternalRequestListener

extends InternalProducerListener
implements RequestListener2
java.lang.Object
   ↳ com.facebook.imagepipeline.producers.InternalProducerListener
     ↳ com.facebook.imagepipeline.producers.InternalRequestListener

Summary

Public Constructors
InternalRequestListener(RequestListener requestListener, RequestListener2 requestListener2)
Public Methods
void onRequestCancellation(ProducerContext producerContext)
Called after the request is cancelled.
void onRequestFailure(ProducerContext producerContext, Throwable throwable)
Called after failure to complete the request (some producer failed).
void onRequestStart(ProducerContext producerContext)
Called when request is about to be submitted to the Orchestrator's executor queue.
void onRequestSuccess(ProducerContext producerContext)
Called after successful completion of the request (all producers completed successfully).
[Expand]
Inherited Methods
From class com.facebook.imagepipeline.producers.InternalProducerListener
From class java.lang.Object
From interface com.facebook.imagepipeline.listener.RequestListener2
From interface com.facebook.imagepipeline.producers.ProducerListener2

Public Constructors

public InternalRequestListener (RequestListener requestListener, RequestListener2 requestListener2)

Public Methods

public void onRequestCancellation (ProducerContext producerContext)

Called after the request is cancelled.

Parameters
producerContext the producer context for the image

public void onRequestFailure (ProducerContext producerContext, Throwable throwable)

Called after failure to complete the request (some producer failed).

Parameters
producerContext the producer context for the image
throwable cause of failure

public void onRequestStart (ProducerContext producerContext)

Called when request is about to be submitted to the Orchestrator's executor queue.

Parameters
producerContext the producer context for the image

public void onRequestSuccess (ProducerContext producerContext)

Called after successful completion of the request (all producers completed successfully).

Parameters
producerContext the producer context for the image