The ListView save in its internal state the checked items and restore
them.

It restore them after the device is rotated.

But then clear them out when I set it a new adapter (which, in my
case, extract exactly the same data).


I'm using a ListFragment with compatibility support package v4 and a
Loader to get a custom CursorAdapter.

When the loader give me the adapter I call setListAdapter that clear
out the checked, restored, state.

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