com.facebook.imagepipeline.listener.RequestListener2 |
Known Indirect Subclasses |
Listener for ImageRequest
with access to the full ProducerContext
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onRequestCancellation(ProducerContext producerContext)
Called after the request is cancelled.
| ||||||||||
abstract void |
onRequestFailure(ProducerContext producerContext, Throwable throwable)
Called after failure to complete the request (some producer failed).
| ||||||||||
abstract void |
onRequestStart(ProducerContext producerContext)
Called when request is about to be submitted to the Orchestrator's executor queue.
| ||||||||||
abstract void |
onRequestSuccess(ProducerContext producerContext)
Called after successful completion of the request (all producers completed successfully).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.facebook.imagepipeline.producers.ProducerListener2
|
Called after the request is cancelled.
producerContext | the producer context for the image |
---|
Called after failure to complete the request (some producer failed).
producerContext | the producer context for the image |
---|---|
throwable | cause of failure |
Called when request is about to be submitted to the Orchestrator's executor queue.
producerContext | the producer context for the image |
---|
Called after successful completion of the request (all producers completed successfully).
producerContext | the producer context for the image |
---|