title: Save fragment state when change of fragment A to fragment B
body: <p>I have a fragment A and a fragment B.</p>
  
  <p>In fragment A  i do a inflation of a some views to inside a container. Then i change to a fragment B, and when i turn to fragment A, the views that inflate are gone and i lost the data inside this views.</p>
  
  <p>Anyone know what is the problem?
  Thanks by your time and help </p>
  
  <p><img src="https://i.stack.imgur.com/Jb9Uf.png" alt="enter image description here"></p>