Open burhanrashid52 opened 6 years ago
Extension property to get/set bitmap from ImageView
inline var ImageView.bitmap: Bitmap? get() { val drawable = drawable as? BitmapDrawable return drawable?.bitmap } set(value) { setImageBitmap(value) }
PR #579
Extension property to get/set bitmap from ImageView