title: Replacing a layout inside a Fragment in a ViewPager with a Fragment
body: <p>I'm using a ViewPager with a Fragment for every page. Every page has a layout for the front and the back. If the fragment should have a back, <strong>you would replace that with a Fragment</strong>, but if I use:</p>
  
  <pre><code>getChildFragmentManager().beginTransaction().
      replace(R.id.layout_back,fragmentResultBack).commitAllowingStateLoss();
  </code></pre>
  
  <p>it replaces all the layouts with the <code>id = R.id.layout_back</code> instead of just the one. </p>