title: Android : Which method is called when fragment is pop out from backstack
body: <p>I have researched on stack overflow but doesn't seem to find solution.</p>
  
  <p>I have one mainActivity and several frgaments, I am doing fragment transaction by 
  <code>replace</code> method and corresponding fragment added to backstack, but my problem is when I pop it out from back stack which callback is called I want to check something before pop it out from stack, onResume() method is not calling when I pop it from back stack</p>
  
  <p>HELP</p>