Does that go in he onCreate? onResume? On Nov 20, 12:15 pm, Mark Murphy <mmur...@commonsware.com> wrote: > JasonMP wrote: > > Hi, > > > I'm running into some issues here with my app. I have 4 tabs run > > through a tabActivity. One tab sends an intent and run my > > ListActivity that populates the screen from a simpleCursorAdapter. My > > problem is that when I change back to this tab, after the first time > > its run, the list never refreshes regardless of the changes made to > > the database via other tabs. Is there something I can call from > > onTabChanged to refresh my ListActivity? > > Call requery() on the Cursor wrapped by your SimpleCursorAdapter. The > rest should take care of itself. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android Consulting/App Development:http://commonsware.com/consulting
-- 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