swebb99 wrote:
> Thanks for the reply skink. I've tried what you suggested and yes
> changeCursor is getting called, now I look at the code again I can see
> how. I can also now see what the cause of the memory leak it.
> Basically when the activity is destroyed that contains views with
> CursorAdapters there appear to be no call on the adapter to close the
> current cursor. Now I'm not sure if the system should be looking after
> closing the cursor held by the adapter or not but I suppose I can keep
> a handle on adapters in my activity and in its onDestroy() call call
> getCursor() on the adapters and manually close them. Strikes me this
> isn't something I should need to do by maybe its the only way.

what about this:

http://stackoverflow.com/questions/6542745/whats-the-purpose-of-startmanagingcursor

pskink

-- 
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