Class Overview
Currently we are measuring this from Submit to Final Image.But can be extended to include
intermediate time and failure cases also
Summary
Public Methods |
void
|
onFinalImageSet(String id, Object imageInfo, Animatable animatable)
Called after the final image has been set.
|
void
|
onSubmit(String id, Object callerContext)
Called before the image request is submitted.
|
[Expand]
Inherited Methods |
From class
com.facebook.drawee.controller.BaseControllerListener
static
<INFO>
ControllerListener<INFO>
|
getNoOpListener()
|
void
|
onFailure(String id, Throwable throwable)
Called after the fetch of the final image failed.
|
void
|
onFinalImageSet(String id, INFO imageInfo, Animatable animatable)
Called after the final image has been set.
|
void
|
onIntermediateImageFailed(String id, Throwable throwable)
Called after the fetch of the intermediate image failed.
|
void
|
onIntermediateImageSet(String id, INFO imageInfo)
Called after any intermediate image has been set.
|
void
|
onRelease(String id)
Called after the controller released the fetched image.
|
void
|
onSubmit(String id, Object callerContext)
Called before the image request is submitted.
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.facebook.drawee.controller.ControllerListener
abstract
void
|
onFailure(String id, Throwable throwable)
Called after the fetch of the final image failed.
|
abstract
void
|
onFinalImageSet(String id, INFO imageInfo, Animatable animatable)
Called after the final image has been set.
|
abstract
void
|
onIntermediateImageFailed(String id, Throwable throwable)
Called after the fetch of the intermediate image failed.
|
abstract
void
|
onIntermediateImageSet(String id, INFO imageInfo)
Called after any intermediate image has been set.
|
abstract
void
|
onRelease(String id)
Called after the controller released the fetched image.
|
abstract
void
|
onSubmit(String id, Object callerContext)
Called before the image request is submitted.
|
|
Public Constructors
Public Methods
public
void
onFinalImageSet
(String id, Object imageInfo, Animatable animatable)
Called after the final image has been set.
Parameters
id |
controller id |
imageInfo |
image info |
public
void
onSubmit
(String id, Object callerContext)
Called before the image request is submitted.
IMPORTANT: It is not safe to reuse the controller from within this callback!
Parameters
id |
controller id |
callerContext |
caller context
|