I am not able to find callback in first two fragments of viewpager in activity
<p>Scenario: I  have three fragments in ViewPager in activity.</p>

<p>Fragment One</p>

<p>FragmentTwo</p>

<p>FragmentThree</p>

<p>I noticed that switching from fragment one to three onPause() method is  called
but when I switched from fragment one to two onPause is not  called</p>

<p>Problem: I want to show some data in FragmentOne's TextView with a webservice on button  click.I clicked that button and data is shown But I  noticed when I  switch from one to two and then come back to fragment one data is shown. I want to hide that data when I  come back to one.   Is  there any  callback . ?</p>