title: List view reload when back pressed in fragment
body: <p>I have Fragment XYZFragment where i display the list view.On the Listview item click i replace the Fragment like this. </p>
  
  <pre><code>Fragment fragment=new XYZFragment();
  FragmentManager fragmentManager = getFragmentManager();
  FragmentTransaction ft= fragmentManager.beginTransaction();
  ft.addToBackStack(null);
  ft.replace(R.id.content_frame, fragment).commit();
  </code></pre>
  
  <p>But my problem is when i click back button the fragment reload the listview.It is never happen when i used to use Activity.
  So my question is how to save the instance of previous fragment so that it will prevent the reloading of Data.</p>