Hello, I have list of Check boxes in a ListActivity. 1) How do I select/unselect the check box in the ListActivity? 2) How do I get the state of a particular checkbox in a list of checkboxes? 3) How do I listen to the event when a checkbox is selcted/unselected?
I use the below code: setListAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_multiple_choice, GENRES)); final ListView listView = getListView(); listView.setItemsCanFocus(false); listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); Thanks in advance.. Regards, DK -- 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