title: How to perform a check in checkbox clicking on entire recyclerview row
body: <p>Now I register each checkbox click each time y press on the checkbox like this</p>
  
  <pre><code> inner class OrdersInnerViewHolder(itemView: View): BaseViewHolder&lt;Cart&gt;(itemView){
          override fun bind(item: Cart, position: Int) {
  
              itemView.checkBox.setOnCheckedChangeListener { buttonView, isChecked -&gt;
                  item.isChecked = isChecked
                  if(isChecked){
                   map.put(position,true)
                  }else{
                      map.remove(position,true)
                  }
              }
          }
      }
  </code></pre>
  
  <p>I plan to click the whole row to check or uncheck my item, now I know how to perform the click on the entire row but no how to set the checked changed listener</p>
  
  <pre><code> inner class OrdersInnerViewHolder(itemView: View): BaseViewHolder&lt;Cart&gt;(itemView){
              override fun bind(item: Cart, position: Int) {
  
              itemView.setOnClickListener { 
                  //How to perform checkbox check and uncheck clicking on the entire row instead of the checkbox ?
              }
                  itemView.checkBox.setOnCheckedChangeListener { buttonView, isChecked -&gt;
                      item.isChecked = isChecked
                      if(isChecked){
                       map.put(position,true)
                      }else{
                          map.remove(position,true)
                      }
                  }
              }
          }
  </code></pre>
  
  <p>Since the checkbox has the checked listener I do not have a way to interact with it when clicking the whole view</p>
  
  <p>I plan to let my user click the checkbox and also the whole row to select or unselect this checkbox</p>
  
  <h2>XML</h2>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      xmlns:tools="http://schemas.android.com/tools"
      android:weightSum="3"
      android:orientation="horizontal"&gt;
  
      &lt;CheckBox
          android:id="@+id/checkBox"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content" /&gt;
  
      &lt;TextView
          android:id="@+id/item_name"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:layout_marginBottom="16dp"
          android:text="Test " /&gt;
  
      &lt;TextView
          android:id="@+id/item_qty"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:layout_weight="1"
          android:text="Qty: 2" /&gt;
  
      &lt;TextView
          android:id="@+id/item_price"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:layout_weight="1"
          tools:text="$100.00"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Any ideas?</p>