I am trying a custom based listview which has a text and checkbox. I would like to disable the checkbox's clickable feature. So that the user will only be able to click on the item row rather than clicking on the checkbox.
I tried the following:
holder.checkbox = (CheckBox) convertView.findViewById(R.id.checkBox);
holder.checkbox.setClickable(false);
This is not disabling the clickable. How do I fix this issue?
Thanks!