Created
May 23, 2018 17:04
-
-
Save Aracem/9a6d1a14410756c5cfafd32685510d83 to your computer and use it in GitHub Desktop.
OnPageChangeListenerAdapter to easily implement this listener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open class OnPageChangeListenerAdapter : OnPageChangeListener { | |
override fun onPageScrollStateChanged(state: Int) { | |
} | |
override fun onPageScrolled(position: Int, positionOffset: Float, positionOffsetPixels: Int) { | |
} | |
override fun onPageSelected(position: Int) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment