title: Recyceler View on device rotation replication
body: <p>In My Application, there is Recycler view in fragment</p>
  
  <p>When I follow following steps Its got duplicated in Nexus
   6 5.1.1 device
  1)Change device orientation to landscape
  2)Lock the device
  3)change device orientation to portrait
  4) unlock device
  Now for 1 sec There is replication of view</p>
  
  <p>I have <code>setRetainInstance = true</code> in fragment</p>
  
  <p>and </p>
  
  <pre><code> getSupportFragmentManager().beginTransaction()
  .add(getContentFrame(),fragment,fragment.getClass().getName())
                          .addToBackStack(fragment.getClass().getName())
                          .commit();
  </code></pre>
  
  <p>for adding fragment</p>
  
  <p><a href="https://i.stack.imgur.com/s7TfH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s7TfH.png" alt="before rotation"></a> <a href="https://i.stack.imgur.com/kaJN0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kaJN0.png" alt="after rotation"></a></p>