title: Android fragment manager fragment change listener
body: <p>When replacing a fragment using a <code>FragmentManager</code> is it possible to add a listener for when the event is completed?</p>
  
  <p>So </p>
  
  <pre><code>myFragmentManager
              .beginTransaction()
              .replace(R.id.fragmentContainer, fragment, FRAGMENT_TAG)
              .commit()
  </code></pre>
  
  <p>can I add a listener to <code>myFragmentManager</code> so that I know when the fragment has been replaced?</p>