public interface

ImageOriginListener

com.facebook.drawee.backends.pipeline.info.ImageOriginListener

Class Overview

Listener that can be attached to a PipelineDraweeController to observe the image origin (cache, disk, network, ...) for a given controller.

Summary

Public Methods
abstract void onImageLoaded(String controllerId, int imageOrigin, boolean successful)
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.

Public Methods

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

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