kutils / com.celites.kutils / android.widget.ImageView

Extensions for android.widget.ImageView

applyTinting

fun ImageView.applyTinting(color: Int): Unit

Apply Tint to ImageView.

bitmapDrawable

val ImageView.bitmapDrawable: Bitmap

Get Bitmap from receiver's drawable. Caution: This method isn't tested with vector drawable.

image

var ImageView.image: Drawable?