[android-developers] do i need to clear arraylist hashmap in ondestry method

2013-10-29 Thread Amit Mangal
Hi there, I am using ArrayListHashMapString,String to store my data . do i need to use call clear method of array list on on destroy method of activity or it will automatically clear when my activity is destroying. i want to avaoid memory leaks in my app. thanks -- You received this message

Re: [android-developers] do i need to clear arraylist hashmap in ondestry method

2013-10-29 Thread TreKing
On Tue, Oct 29, 2013 at 3:00 AM, Amit Mangal forum.amit.man...@gmail.comwrote: do i need to use call clear method of array list on on destroy method of activity or it will automatically clear when my activity is destroying. If you don't have any external references to the array list or