ViewPager . OnPageChangeListener setInternalPageChangeListener ( ViewPager . OnPageChangeListener listener ) { ViewPager . OnPageChangeListener oldListener = mInternalPageChangeListener ; mInternalPageChangeListener = listener ; return oldListener ; }
Set a separate OnPageChangeListener for internal use by the support library .