Categories
By: on April 8, 2021
Convert Drawable to Bitmap in Android. Showing images from internet get time to load on the screens, some times we need to show images from the drawable folder on dynamically. We can show images from drawable folder by setImageResource() and setImageBitmap() methods. In this post we will cover how to convert drawable to bitmap in android. we will show you convert drawable to bitmap and append this bitmap image to Imageview. To Convert Drawable to Bitmap we will use BitmapFactory.decodeResource()...
61 views 0 likes