ImageManager.OnImageLoadedListener

public interfaceImageManager.OnImageLoadedListener

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

Summary

Public methods

abstract void
onImageLoaded(
Uriuri,
@NullableDrawabledrawable,
boolean isRequestedDrawable
)

Listener method invoked when an image has been loaded.

Public methods

onImageLoaded

abstract voidonImageLoaded(
Uriuri,
@NullableDrawabledrawable,
boolean isRequestedDrawable
)

Listener method invoked when an image has been loaded.

Parameters
Uriuri

The URI of the requested image.

@NullableDrawabledrawable

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.