public class

ForwardingImageOriginListener

extends Object
implements ImageOriginListener
java.lang.Object
   ↳ com.facebook.drawee.backends.pipeline.info.ForwardingImageOriginListener

Summary

Public Constructors
ForwardingImageOriginListener(Set<ImageOriginListener> imageOriginListeners)
ForwardingImageOriginListener(ImageOriginListener... imageOriginListeners)
Public Methods
synchronized void addImageOriginListener(ImageOriginListener listener)
synchronized void onImageLoaded(String controllerId, int imageOrigin, boolean successful, String ultimateProducerName)
Called when an image has been loaded for the controller with the given controller ID that also includes the ImageOrigin and whether the image has been loaded successfully.
synchronized void removeImageOriginListener(ImageOriginListener listener)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.drawee.backends.pipeline.info.ImageOriginListener

Public Constructors

public ForwardingImageOriginListener (Set<ImageOriginListener> imageOriginListeners)

public ForwardingImageOriginListener (ImageOriginListener... imageOriginListeners)

Public Methods

public synchronized void addImageOriginListener (ImageOriginListener listener)

public synchronized void onImageLoaded (String controllerId, int imageOrigin, boolean successful, String ultimateProducerName)

Called when an image has been loaded for the controller with the given controller ID that also includes the ImageOrigin and whether the image has been loaded successfully.

Parameters
controllerId the controller ID for the loaded image
imageOrigin the origin of the loaded image
successful true if the image has been loaded successfully
ultimateProducerName the name of the producer that delivered the final result

public synchronized void removeImageOriginListener (ImageOriginListener listener)