KitsuneFolk / UnfocusableViewPager2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnfocusableViewPager2

ViewPager2 1.0.0 with added ability to disable page selection to fix EditText focus bug All you need to do is:

  1. Add the url to jitpack.io in your build.gradle(project level)
allprojects {
  repositories {
    maven { url 'https://jitpack.io' }
  }
}

or if you use kotlin DSL in settings.gradle add:

dependencyResolutionManagement {
  repositories {
    maven(url = "https://jitpack.io")
  }
}
  1. Add implementation 'com.github.MrRuslanYT:UnfocusableViewPager2:1.0.0' in your build.gradle(app)
  2. Call viewPager.pageSelectionEnabled = false // default value is true

About

License:Apache License 2.0


Languages

Language:Java 93.3%Language:Kotlin 6.7%