andraskindler / parallaxviewpager

[Development stopped in 2014. Unfinished and not stable - not recommended to use.] An easy-to-use ViewPager subclass with parallax background effect for Android apps.
438 stars 86 forks source link

Delete addOnPageChangeListener method #16

Open yital9 opened 8 years ago

yital9 commented 8 years ago

Hi,

as I see, there are already a couple of questions, how to make your library work with the popular ViewPagerIndicator library.

Can you please just delete a ParallaxViewPager#addOnPageChangeListener(OnPageChangeListener listener) method, to make it possible to call the native method from ViewPager#addOnPageChangeListener(OnPageChangeListener listener)? So it becomes possible to use not only 2 listeners. Actually secondOnPageChangeListener field is unnecessary now, it can be removed too.

thanks in advance & best regards Vitaly