public class

ImageLoadingTimeControllerListener

extends BaseControllerListener<INFO>
java.lang.Object
   ↳ com.facebook.drawee.controller.BaseControllerListener<INFO>
     ↳ com.facebook.drawee.debug.listener.ImageLoadingTimeControllerListener

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 Constructors
ImageLoadingTimeControllerListener(ImageLoadingTimeListener imageLoadingTimeListener)
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
From class java.lang.Object
From interface com.facebook.drawee.controller.ControllerListener

Public Constructors

public ImageLoadingTimeControllerListener (ImageLoadingTimeListener imageLoadingTimeListener)

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