[android-developers] Re: Memory Leak in 1.6

2011-01-02 Thread Prateek Jain
Hi John, If you can post the logs would help understand the reason of the memory leak. Also, a small sample of code will be helpful. Cheers, Prateek On Jan 1, 12:32 am, John Gaby jg...@gabysoft.com wrote: I seem to have a memory leak when running under version 1.6 of the OS.  I have a custom

[android-developers] Re: Memory Leak in 1.6

2011-01-02 Thread John Gaby
Thanks for the response. I have worked out a work-around which fixes the problem. Instead of setting the view group via setContentView(vg), I am now setting a FrameLayout as the content view, and then setting the view group as the child of the FrameLayout. In addition, it was necessary to not