The Cursor holds a copy of the data, so it might be holding data that no
longer matches what's in the database.
Normally you'd use a ContentObserver or DatasetObserver with your cursor to
be notified when the cursor needs to be requeried.


On Wed, May 13, 2009 at 6:38 AM, Hamy <hamilt...@gmail.com> wrote:

>
> Hey All,
>
> I am looking to create objects that internally store a few cursors.
> When asked for data, those objects will use the cursors to get the
> data from the database. This is to hide my database structure from the
> rest of my app.
>
> My question is, if I get a cursor, and change the database with many
> insertions/updates/deletes, would the cursor still be pointing to the
> correct location? (Assuming I did not delete it's data)
>
> Thanks,
> Ham
> >
>

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