title: Manage BackStackEntries in FragmentManager
body: <p>How to clear <code>BackStackEntries</code> in <code>FragmentManager</code> ? This is the code I use to change my fragment object:   </p>
  
  <pre><code>FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction();
  Fragment homeFragment = new Home();
  fragmentTransaction.replace(R.id.mainFragement, homeFragment);
  fragmentTransaction.addToBackStack(null);
  fragmentTransaction.commit();
  </code></pre>
  
  <p>In a particular situation I need to remove the complete backstack entries. I didn't find any particular method for that in fragment manager. Do you have any ideas?</p>