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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to