title: Recyclerview addOnItemTouchListener get whichsubview is clicked inside row
body: <p>I've implemented Recyclerview onclickListener from  this <a href="https://stackoverflow.com/questions/24471109/recyclerview-onclick/26196831#26196831"> Stack overflow</a> solution. This solution works fine for the recycler item clicks. But I can't able to get which subview(ex: ImageView,Button) is clicked from the row.</p>
  <pre><code>     mAttachmentRecyclerview.addOnItemTouchListener(
              new RecyclerItemClickListener(getApplicationContext(), new RecyclerItemClickListener.OnItemClickListener() {
                  @Override
                  public void onItemClick(View view, int position) {
                      if (view.getId()==R.id.attachmnet_remove) {
                          attachmentsList.remove(position);
                          mAttachmentAdapter.notifyDataSetChanged();
                          attachmentCount--;
                      }
                  }
              }
      ));
  </code></pre>
  <p><code>onItemClick(view,position)</code> always returns view <strong>id</strong> as <strong>-1</strong></p>
  <p>How do I track whick view is clicked??</p>