I have created custom list view which have one button, My problem is after adding button in list item onItemClick of list view has stop working. Is there any way to keep both listeners working?
set this to your ListItem root Layout
android:descendantFocusability="blocksDescendants"
and set
android:focusable="true"
android:focusableInTouchMode="true"
to your Buttons
. It's seems working in my case.