| com.facebook.imagepipeline.listener.RequestListener |
Known Indirect Subclasses
|
Listener for ImageRequest.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
onRequestCancellation(String requestId)
Called after the request is cancelled.
| ||||||||||
| abstract void |
onRequestFailure(ImageRequest request, String requestId, Throwable throwable, boolean isPrefetch)
Called after failure to complete the request (some producer failed).
| ||||||||||
| abstract void |
onRequestStart(ImageRequest request, Object callerContext, String requestId, boolean isPrefetch)
Called when request is about to be submitted to the Orchestrator's executor queue.
| ||||||||||
| abstract void |
onRequestSuccess(ImageRequest request, String requestId, boolean isPrefetch)
Called after successful completion of the request (all producers completed successfully).
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.facebook.imagepipeline.producers.ProducerListener
| |||||||||||
Called after the request is cancelled.
| requestId | unique id generated automatically for each request submission |
|---|
Called after failure to complete the request (some producer failed).
| request | which triggered the event |
|---|---|
| requestId | unique id generated automatically for each request submission |
| throwable | cause of failure |
| isPrefetch | whether the request is a prefetch or not |
Called when request is about to be submitted to the Orchestrator's executor queue.
| request | which triggered the event |
|---|---|
| callerContext | context of the caller of the request |
| requestId | unique id generated automatically for each request submission |
| isPrefetch | whether the request is a prefetch or not |
Called after successful completion of the request (all producers completed successfully).
| request | which triggered the event |
|---|---|
| requestId | unique id generated automatically for each request submission |
| isPrefetch | whether the request is a prefetch or not |