RichUtils / pyxis.uzuki.live.richutilskt.utils / drawableToBitmap

drawableToBitmap

fun drawableToBitmap(drawable: Drawable): Bitmap

Convert Drawable to Bitmap in safe way

Parameters

drawable - to convert

Return
Bitmap object