If any row item of list contains focusable or clickable view then OnItemClickListener won't work such as for checkbox or button etc in the row item.There are two solution:

1. row item must be having param like android:descendantFocusability="blocksDescendants"

&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:baselineAligned="false"
    android:descendantFocusability="blocksDescendants"
    android:gravity="center_vertical" &gt;

    // your other widgets here

&lt;/LinearLayout&gt;


2. Set given two attributes to false
like

 android:focusable="false"
   android:focusableInTouchMode="false"


For example if there is any checkbox or button or image in the row item then

&lt;CheckBox
    android:id="@+id/fav_check_box"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:focusable="false" /&gt;


ListView OnItemClickListener is not listening
I have a question here, how to change product stock without click "Edit" on Magento ?


Thanks Before
