I have Implemented a custom ListView by extending Relative Layout for every row. Every row has Checkbox,Textview,Edittext. Everything working fine. It maintains it states. Listview
Solution 1:
Add
android:focusable="false"
attribute to the CheckBox. This will stop the checkbox from stealing the List item clicks.
Add android:descendantFocusability="beforeDescendants" to your ListView which makes the ViewGroup to get focus before any of its descendants.
Share
Post a Comment
for "Setonitemclicklistener Not Working In Custom Listview"
Post a Comment for "Setonitemclicklistener Not Working In Custom Listview"