ImageManager.OnImageLoadedListener

interface ImageManager.OnImageLoadedListener


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

Summary

Public functions

Unit
onImageLoaded(uri: Uri!, drawable: Drawable?, isRequestedDrawable: Boolean)

Listener method invoked when an image has been loaded.

Public functions

onImageLoaded

fun onImageLoaded(uri: Uri!, drawable: Drawable?, isRequestedDrawable: Boolean): Unit

Listener method invoked when an image has been loaded.

Parameters
uri: Uri!

The URI of the requested image.

drawable: Drawable?

Drawable containing the image.

isRequestedDrawable: Boolean

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