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.
More Related Contents:
- get Feature item to list View
- Getting an issue while checking the dynamically generated checkbox through list view
- Android, ListView IllegalStateException: “The content of the adapter has changed but ListView did not receive a notification”
- Checkbox unchecked when I scroll listview on Android
- Filtering ListView with custom (object) adapter
- Android: Binding data from a database to a CheckBox in a ListView?
- Android Checkbox listview select all (disable/enable) [duplicate]
- Android: CursorAdapter, ListView and CheckBox
- How to get all checked items from a ListView?
- Android ListView with Checkbox and all clickable [duplicate]
- How to show installed app list in a listview without Checkbox getting unchecked when listview is scrolled?
- What’s the purpose of item-id’s in Android ListView Adapter?
- ListView Viewholder checkbox state
- CheckBox gets unchecked on scroll in a custom listview
- android attaching multiple adapters to one adapter
- Android save Checkbox State in ListView with Cursor Adapter
- Android how to identify item in listview with checkbox
- Logcat error: “addView(View, LayoutParams) is not supported in AdapterView” in a ListView
- OnItemClickListener doesn’t work with ListView item containing button
- Checkbox auto call onCheckedChange when listview scroll?
- Cannot add header view to list — setAdapter has already been called
- ArrayIndexOutOfBoundsException with custom Android Adapter for multiple views in ListView
- How to implement Android Pull-to-Refresh
- Should we use RecyclerView to replace ListView? [closed]
- Android: wrap_content is not working with ListView
- How to Animate Addition or Removal of Android ListView Rows
- android nested listview
- Refreshing activity on receiving gcm push notification
- how to implement both ontouch and also onfling in a same listview?
- How to load the Listview “smoothly” in android