I have an Activity with a ViewPager which displays a bunch of pictures. When it starts the ViewPager\'s position is set based on what the user selected in a previous Activit
If the ViewPager is in a fragment, in the onViewCreated method, call mPager.setOnPageChangeListener(this)