ListView with OnItemClickListener

Though a very old question, but I am still posting an answer to it so that it may help some one.
If you are using any layout inside the list view then use …

android:descendantFocusability="blocksDescendants"    

… on the first parent layout inside the list. This works as magic the click will not be consumed by any element inside the list but will directly go to the list item.

Leave a Comment