It is actually not very difficult to implement a list of checkboxes.
The key is to write a custom Adapter that keeps track of the selected
items (using a SparseBooleanArray for instance.) I wrote such an
adapter as an ApiDemo recently, I'll try to find the code and paste it
here. Note that the next version of the SDK will provide an option for
ListView to automatically behave as a list of check boxes without any
work from your part (it's actually more powerful since it lets you
check an arbitrary view, like an ImageView, a WebView, etc.)

-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to