How to get selected list items from a Listview with checkBox and Custom Adapter?

In the customadapter’s getview method, do

//use the actual id of your checkbox of course
Checkbox checkbox = (CheckBox)findViewById(R.id.checkbox); 
checkbox.setFocusable(false);
checkbox.setFocusableInTouchMode(false);

now the checkbox is clickable as is the listitem.

Leave a Comment