tags:

views:

125

answers:

1

I experienced OutOfMemory exception in my code, so I am reviewing the code.

I have a question, does View.removeAllViews() release the memory that were used by the child views that were previously added into this the parent view?

Thanks.

+1  A: 

Except if your code has references on the ViewGroup's child views, all ViewGroup's child views should be "garbage collectable".

david