title: ListView setOnItemClickListener not working when ListView row contain RadioButton
body: <p>Please do not say that this is duplicate question, because i search on google and try every answer then also not getting result. In my Listview row contain one TextView and three Radio button.<br><br>
  <strong>Problem is</strong><br/>
  When i click on other side in particular row then Listview <code>setOnItemClickListener</code> work fine but problem is when i click on radio button then <code>setOnItemClickListener</code> not called i don't know why ?
  <br><br>
  I want that when i click or select any redioButton then call one method, I know that this is possible by adapter but i want radio button click event in listview <code>onItemClick()</code>  method.<br><br>
  Sorry for bad english, Thanks in advance and help would be appreciate</p>
  
  <p><strong>xml file</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="horizontal"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="45dp"
          android:padding="5dp"
          android:focusable="false"
          android:focusableInTouchMode="false"
          android:background="@drawable/student_row_background"&gt;
  
          &lt;TextView
              android:id="@+id/tv_attendance_studentName"
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:textAppearance="?android:attr/textAppearanceSmall"
              android:layout_weight=".5"
              android:gravity="center_vertical"
              android:text="Name"
              android:textColor="@color/headerActionbar"
              android:textSize="15dp"
              android:focusable="false"
              android:focusableInTouchMode="false"/&gt;
  
          &lt;RadioGroup
              android:id="@+id/rg_1"
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight=".5"
              android:orientation="horizontal"
              android:gravity="center|right"
              android:focusable="false"
              android:focusableInTouchMode="false"
              android:descendantFocusability="blocksDescendants"
              android:layout_alignParentTop="true"
              android:layout_alignParentRight="true"
              android:layout_alignParentEnd="true"&gt;
  
              &lt;RadioButton
                  android:layout_width="wrap_content"
                  android:layout_height="21dp"
                  android:text="P"
                  android:id="@+id/radioButton_present"
                  android:textColor="@color/headerActionbar"
                  android:textStyle="bold"
                  android:gravity="center"
                  android:paddingRight="10dp"
                  android:textSize="12dp"
                  android:buttonTint="@color/headerActionbar"
                  android:focusable="false"
                  android:focusableInTouchMode="false" /&gt;
  
              &lt;View
                  android:layout_width="1dp"
                  android:layout_height="21dp"
                  android:background="@color/dialogTextColor"/&gt;
  
              &lt;RadioButton
                  android:layout_width="wrap_content"
                  android:layout_height="21dp"
                  android:text="A"
                  android:textColor="@color/headerActionbar"
                  android:textStyle="bold"
                  android:paddingRight="10dp"
                  android:gravity="center"
                  android:textSize="12dp"
                  android:id="@+id/radioButton_absent"
                  android:buttonTint="@color/headerActionbar"
                  android:focusable="false"
                  android:focusableInTouchMode="false"/&gt;
  
              &lt;View
                  android:layout_width="1dp"
                  android:layout_height="21dp"
                  android:background="@color/dialogTextColor"/&gt;
  
              &lt;RadioButton
                  android:layout_width="wrap_content"
                  android:layout_height="21dp"
                  android:text="L"
                  android:textColor="@color/headerActionbar"
                  android:textStyle="bold"
                  android:paddingRight="10dp"
                  android:gravity="center"
                  android:textSize="12dp"
                  android:id="@+id/radioButton_leave"
                  android:buttonTint="@color/headerActionbar"
                  android:focusable="false"
                  android:focusableInTouchMode="false"/&gt;
  
          &lt;/RadioGroup&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>This is <strong>java file</strong></p>
  
  <pre><code>        lv_studentList.setOnItemClickListener(new AdapterView.OnItemClickListener() {
              @Override
              public void onItemClick(AdapterView&lt;?&gt; parent, View view, final int position, long id) {
  
                       RadioButton radioButton_present = (RadioButton)view.findViewById(R.id.radioButton_present);
                       RadioButton radioButton_absent = (RadioButton)view.findViewById(R.id.radioButton_absent);
                       RadioButton radioButton_leave = (RadioButton)view.findViewById(R.id.radioButton_leave);
  
                      if (!radioButton_present.isChecked() &amp;&amp; !radioButton_absent.isChecked()
                      &amp;&amp; !radioButton_leave.isChecked())
                      {
                          constant.showSnackBar("Please select at least one attendance option");
                      }
                      else if(radioButton_present.isChecked())
                      {
                          constant.showSnackBar("Student is present");
                      }
                      else if (radioButton_absent.isChecked())
                      {
                          constant.showSnackBar("Student is absent");
                      }
                     else if (radioButton_leave.isChecked())
                     {
                          constant.showSnackBar("Student is leave");
                     }
               }
          });
  </code></pre>