Image View Load Configuration

class ImageViewLoadConfiguration(    var source: Any? = null,     var scaleType: ImageView.ScaleType = CENTER_CROP,     var progressBar: ProgressBar? = null,     var onImageLoaded: () -> Unit? = null,     var onImageNotLoaded: () -> Unit? = null)

Constructors

Link copied to clipboard
fun ImageViewLoadConfiguration(    source: Any? = null,     scaleType: ImageView.ScaleType = CENTER_CROP,     progressBar: ProgressBar? = null,     onImageLoaded: () -> Unit? = null,     onImageNotLoaded: () -> Unit? = null)

Functions

Link copied to clipboard
fun withErrorImage(errorImage: Any?)
Link copied to clipboard
fun withImageLoaded(action: () -> Unit)
Link copied to clipboard
fun withImageNotLoaded(action: () -> Unit)
Link copied to clipboard
fun withImageSource(source: Any?)
Link copied to clipboard
fun withPlaceHolder(placeHolder: Any?)
Link copied to clipboard
fun withProgressBar(progressBar: ProgressBar)
Link copied to clipboard
fun withScaleType(scaleType: ImageView.ScaleType)

Properties

Link copied to clipboard
val loadListener: RequestListener<Drawable>
Link copied to clipboard
var onImageLoaded: () -> Unit? = null
Link copied to clipboard
var onImageNotLoaded: () -> Unit? = null
Link copied to clipboard
val options: RequestOptions
Link copied to clipboard
var progressBar: ProgressBar? = null
Link copied to clipboard
var scaleType: ImageView.ScaleType
Link copied to clipboard
var source: Any? = null

Sources

Link copied to clipboard