ImageViewLoadConfiguration
constructor(source: Any? = null, transformation: ImageViewLoadConfiguration.ImageTransformation? = null, progressBar: ProgressBar? = null, onImageLoaded: () -> Unit? = null, onImageNotLoaded: () -> Unit? = null)
Parameters
transformation
ImageTransformation to define how the size of the image will be displayed by the ratio of ImageView
progressBar
ProgressBar that will be listen when the image is loaded, will be displayed when the image still currently loading and will be hidden when the image already loaded, null by default
onImageLoaded
listener for when the image is successfully loaded, null by default
onImageNotLoaded
listener for when the image is failed to load, null by default