Android Question Removeview / recycleview / force garbage collection

wimpie3

Well-Known Member
Licensed User
Longtime User
If I understand it correctly, removeview removes a view, but not immediately. You have to force garbage collection in order to do this as soon as possible.

Is removeview+force garbage the same as a call to recycleview?

I want to remove a bitmap as soon as possible from memory. I'm using removeview but run into memory problems because it takes a while before the bitmap is gone.

So what combination of removeview / recycleview / force garbage should I use?
 
Top