title: Add a view dynamically to the item of the RecyclerView
body: <p>I want to add the extra <code>TextView</code> to the item of the <code>RecyclerView.Adapter</code> based on the ModalObject sent to the <code>RecyclerView.Adapter</code></p>
  
  <p><strong>Example</strong>:</p>
  
  <p>I had a modal object with <code>isAddText</code> variable. In <code>onCreateViewHolder</code> will create the Holder Object with sending the <code>itemView</code> as an parameter.</p>
  
  <pre><code>@Override
  public SolventViewHolders onCreateViewHolder(ViewGroup parent, int viewType) {
      View layoutView = LayoutInflater.from(parent.getContext()).inflate(R.layout.solvent_list, null);
      SolventViewHolders rcv = new SolventViewHolders(layoutView);
      return rcv;
  }
  </code></pre>
  
  <p>SolventViewHolders.java</p>
  
  <pre><code>public SolventViewHolders(View itemView) {
      super(itemView);
      itemView.setOnClickListener(this);
      textView = (TextView) itemView.findViewById(R.id.country_name);
      imageView = (ImageView) itemView.findViewById(R.id.country_photo);
      //  Now i need add a view to the itemView parent based on ModalObject isAddView property and how to do that. 
  }
  </code></pre>