Created
March 30, 2018 10:14
-
-
Save Stickerbox/aadd0da874562779ef49d95124fd7474 to your computer and use it in GitHub Desktop.
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
class FixedViewPager @JvmOverloads constructor(context: Context, | |
attrs: AttributeSet? = null) : ViewPager(context, attrs) { | |
override fun onTouchEvent(ev: MotionEvent?) = false | |
override fun onInterceptTouchEvent(ev: MotionEvent?) = false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment