But I insert an item to database from an activity, the list activity
cannot update data.I guess it cannot get notification.

On May 23, 1:10 am, Marco Nelissen <marc...@android.com> wrote:
> This should normally happen automatically: when the database changes, the
> cursor adapter is notified, which causes the cursor to be requeried and the
> the listview to be updated.
>
> On Fri, May 22, 2009 at 2:31 AM, Gavin <fjm...@gmail.com> wrote:
>
> > Hello,
> >   I have a List activity which use cursor adapter. When an item of
> > database is changed, I hope the  corresponding view of this list can
> > update and get new data from database.
>
> >   I know the time when database is changed, but how to update view?
>
> >   thanks.
--~--~---------~--~----~------------~-------~--~----~
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