Hi All,
when a Fragment is being closed, what is the correct way to clean up the 
memory that is being used by a GridView that is being supplied data by an 
Adapter subclass.   

The GridView items are layouts that include an ImageView and a text label.

in the Fragment's onDestroyView, do you simply set the GridView's adapter 
to null or should you be doing any other specifics to expunge memory, in 
either the Adapter subclass or at the Fragment level?

thanks for any pointers, I'm trying to track down an OutOfMemory bomb after 
switching tabs a number of times.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to