As Romain Guy pointed out, if you use choiceMode, Android *will* track
the checkbox states for you...but only if you have one checkbox per row.
I believe you indicated you had two, which is why I didn't suggest that
originally.

> what i don't understand through is that each checkbox have it's own
> checked value wich should be used by android when repaint is
> called ...

Why would it? Remember that Android is extensible, and there is no way
for Android to know which widgets have state that would need to be
persisted, or how necessarily to persist it. Only if *Android* is
putting the checkbox there (e.g., choiceMode) is it Android's
responsibility to track state -- if you put it there, it is your
responsibility.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, $35/Year

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