I have a custom View which I draw on bitmaps in the onDraw function.
if I set View to be invisible through View.setVisibility(View.GONE), it clears all the memory
of the allocated bitmaps?
No, it does not. You would have to call recycle on the bitmaps to release the memory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With