On Tue, Aug 2, 2011 at 2:35 PM, Nikolay Elenkov
<[email protected]> wrote:
> On Tue, Aug 2, 2011 at 2:04 PM, julius <[email protected]> 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 [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