Fragment's are not calling OnResume() when swiping with ViewPager
Use setUserVisibleHint(boolean isVisibleToUser).
@Override
public void setUserVisibleHint(boolean isVisibleToUser) {
super.setUserVisibleHint(isVisibleToUser);
if (isVisibleToUser) {
// Do your stuff here
}
}