Setonitemclicklistener Not Responding
Possible Duplicate: setOnItemClickListener not getting called I have a custom adapter which extends base adapter. When I set setOnItemClickListener in onCreate and implement onI
Solution 1:
If you want to use
lv.setOnItemClickListener(this);
you must implement OnItemClick listener to your Activity.
and also you can use @user1597833 's answer.
if you want to click textview not cell, try @jeet 's answer.
Solution 2:
It seems views in the row item view, has focusable and clickable property true, so child of item take click event, instead of list row item, if it is the case, to solve this issue, change all view's of row item's focusable, and clickable property to false.
Post a Comment for "Setonitemclicklistener Not Responding"