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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Except if your code has references on the ViewGroup’s child views, all ViewGroup’s child views should be “garbage collectable”.