title: Recyclerview touch events
body: <p>This is the first time I am working with <code>RecyclerView</code>, I have made <code>Adapter</code> class with some static mock data.</p>
  
  <pre><code>public static class ViewHolder extends RecyclerView.ViewHolder{
  
          public TextView textView;
  
          public ViewHolder(View view){
  
              super(view);
  
              textView = (TextView)view.findViewById(R.id.MyTextView);
          }
      }
  
      @Override
      public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
  
          view1 = LayoutInflater.from(context).inflate(R.layout.item, parent ,false);
  
          Toast.makeText(context, "@@@@@@@@@@@@" +viewType, Toast.LENGTH_SHORT).show();
  
          viewHolder1 = new ViewHolder(view1);
  
          return viewHolder1;
      }
  
      @Override
      public void onBindViewHolder(ViewHolder holder, int position) {
  
          holder.textView.setText(SubjectValues[position]);
      }
  
      @Override
      public int getItemCount() {
          return SubjectValues.length;
      }
  }
  </code></pre>
  
  <p>this is my <code>Adapter</code> clas now it's showing the mock data I want to achieve the click event.</p>