title: Which lifecycle callback is called when a fragment pager adapter's fragment comes to screen?
body: <p>I want to detect when a particular fragment of three fragments I have set up with a ViewPager comes on to screen. I have 3 fragments in the viewpager and have set up the viewpager with</p>
  
  <pre><code>mViewPager.setOffscreenPageLimit(2);
  </code></pre>
  
  <p>so all three fragments are constructed at once (since it stores 2 on each side). I checked that Fragment.onResume() is called just once and not when each fragment comes to the foreground. Is there another callback to ensure I can catch this event and send some analytics signal for it?</p>
  
  <p>Thanks</p>