java.lang.Object | ||
↳ | com.facebook.fresco.ui.common.BaseControllerListener2<INFO> | |
↳ | com.facebook.fresco.ui.common.ForwardingControllerListener2<I> |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ForwardingControllerListener2() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | addListener(ControllerListener2<I> listener) | ||||||||||
void |
onFailure(String id, Throwable throwable, ControllerListener2.Extras extras)
Called after the fetch of the final image failed.
| ||||||||||
void |
onFinalImageSet(String id, I imageInfo, ControllerListener2.Extras extraData)
Called after the final image has been set.
| ||||||||||
void |
onRelease(String id, ControllerListener2.Extras extras)
Called after the controller released the fetched image.
| ||||||||||
void |
onSubmit(String id, Object callerContext, ControllerListener2.Extras extras)
Called before the image request is submitted.
| ||||||||||
synchronized void | removeAllListeners() | ||||||||||
synchronized void | removeListener(ControllerListener2<I> listener) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.facebook.fresco.ui.common.BaseControllerListener2
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.fresco.ui.common.ControllerListener2
|
Called after the fetch of the final image failed.
id | controller id |
---|---|
throwable | failure cause |
extras | extra data |
Called after the final image has been set.
id | controller id |
---|---|
imageInfo | image info |
extraData | extra data |
Called after the controller released the fetched image.
IMPORTANT: It is not safe to reuse the controller from within this callback!
id | controller id |
---|---|
extras | extra data |
Called before the image request is submitted.
IMPORTANT: It is not safe to reuse the controller from within this callback!
id | controller id |
---|---|
callerContext | caller context |
extras | extra data |