get Bitmap From Drawable

fun getBitmapFromDrawable(drawable: Drawable): Bitmap

Method to convert drawable to bitmap

Return

Bitmap from drawable

Parameters

drawable

drawable to convert

Sources

Link copied to clipboard