title: Getting Flickering Effect When Showing Horizontal RecyclerView inside Vertical RecyclerView
body: <p>I have a <code>Vertical</code> <code>RecyclerView</code>, and this vertical <code>RecyclerView's</code> each item contains <code>Horizontal RecyclerView</code>. so I have done this and working fine except the performance factor, when I scroll the <code>Vertical RecyclerView</code> the vertical list flickers and gives a bad behaviour. I am setting <code>Adapter</code> for horizontal <code>RecyclerView</code> is inside Vertical <code>RecyclerView</code> so each time scrolls I am creating a new adapter and setting the data, actually this causes the performance. Is there any way to optimize this ?</p>
  
  <p><strong>Code</strong></p>
  
  <pre><code>onBindViewHolder(){
    setHorizontalList(items, horizontalolder);
  }
  
  setHorizontalList(ArrayList&lt;Item&gt; items, HorizontalHolder holder){
    MyAdapter adapter = new MyAdapter();
    adapter.setData(items);
    holder.recyclerView.setAdapter(adapter);
    holder.recyclerView.setLayoutManager(new LinearLayoutManager(mContext,
                      LinearLayoutManager.HORIZONTAL, false));
    holder.recyclerView.setHasFixedSize(true);
  }
  </code></pre>