I’m creating a new empty transparent Bitmap and making some modifications to it.
Is there a way to clean up this (make transparent and empty again) without creating new instance of Bitmap?
UPDATE:
Thanks for your help.
I have found answer.
// Fills the bitmap's pixels with the specified Color.
bitmap.eraseColor(somecolor);
Try this:
The constant int value of TRANSPARENT is 0x00000000.