[android-developers] Listen to the CheckBox event in a ListActivity

2010-05-03 Thread dillipk
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: setList

Re: [android-developers] Listen to the CheckBox event in a ListActivity

2010-05-03 Thread Mark Murphy
dillipk wrote: > I have list of Check boxes in a ListActivity. > > 1) How do I select/unselect the check box in the ListActivity? getListView().setItemChecked(), as described in the Android developer documentation: http://developer.android.com/reference/android/widget/ListView.html#setItemChec