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 <[email protected]> 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 <[email protected]> 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 [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