Package com.
devbase.
utils.
ext
Defines global extension function
Types
Link copied to clipboard
class ImageViewLoadConfiguration( var source: Any? = null, var scaleType: ImageView.ScaleType = CENTER_CROP, var progressBar: ProgressBar? = null, var onImageLoaded: () -> Unit? = null, var onImageNotLoaded: () -> Unit? = null)
Content copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Method to check if context is valid or not
Link copied to clipboard
fun ImageView.loadImage( imageDrawable: Drawable? = null, imageUrl: String? = null, imageRes: Int? = null, placeHolderDrawable: Drawable? = null, placeHolderResourceId: Int? = null, progressBar: ProgressBar? = null, errorResourceId: Int? = null, errorDrawable: Drawable? = null, onImageLoaded: () -> Unit? = null, onImageNotLoaded: () -> Unit? = null, scaleType: ImageView.ScaleType = CENTER_CROP)
Content copied to clipboard
Method to load image to ImageView, please read carefully what param you can use
Link copied to clipboard
Method to define action when text changed on EditText
Link copied to clipboard
method to convert string to currency