How do i load a bitmap into a canvas?

I have saved a bitmap onStop, onResume i have a method to load this bitmap, but how?

16th Oct 2017, 4:40 AM
Opaque Dmr
Opaque Dmr - avatar
1 Answer
+ 13
Bitmap bitmap = Bitmap.createBitmap(widthPixels, heightPixels, Bitmap.Config.ARGB_8888); Canvas canvas = new Canvas(); canvas.setBitmap(bitmap); Is this what you want ?
19th Oct 2017, 5:31 AM
Corey - avatar