Skip to content

Instantly share code, notes, and snippets.

Created March 30, 2018 10:14
What would you like to do?
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