On Tue, Aug 2, 2011 at 2:35 PM, Nikolay Elenkov
<nikolay.elen...@gmail.com> wrote:
> On Tue, Aug 2, 2011 at 2:04 PM, julius <jul...@msa.co.nz> wrote:
>
>
>> Anyhow, after deliverResult I'm guessing onLoadFinished runs. At this point,
>> now the Cursor is refreshed, do we just need to use notifyDatasetChanged on
>> our Adapter?
>
> If you have a CursorAdapter, you need to call swapCursor() first.
> (*not* changeCursor()).
>

Actually, CursorAdapter.swapCursor() calls it internally, so just
swapCursor() is enough.

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