ImageManager.OnImageLoadedListener

public interface ImageManager.OnImageLoadedListener


Listener interface for handling when the image for a particular URI has been loaded.

Summary

Public methods

abstract void
onImageLoaded(
    Uri uri,
    @Nullable Drawable drawable,
    boolean isRequestedDrawable
)

Listener method invoked when an image has been loaded.

Public methods

onImageLoaded

abstract void onImageLoaded(
    Uri uri,
    @Nullable Drawable drawable,
    boolean isRequestedDrawable
)

Listener method invoked when an image has been loaded.

Parameters
Uri uri

The URI of the requested image.

@Nullable Drawable drawable

Drawable containing the image.

boolean isRequestedDrawable

True if this drawable was loaded from the provided URI, or false if this drawable is a placeholder image instead.