Skip to content

This is a java implementation of ViewPager2 wrapper class to enable nested scrolling in viewpager2 (which is disabled by default unlike ViewPager)

License

Notifications You must be signed in to change notification settings

BUSY-LOOPING/NestedScrollableHost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

NestedScrollableHost

JitPack

This is a java implementation of ViewPager2 wrapper class to enable nested scrolling in viewpager2 (which is disabled by default unlike ViewPager)


Gradle Dependency

Repository

Add this in your root build.gradle file (not your module build.gradle file):

allprojects {
	repositories {
		...
		maven { url "https://jitpack.io" }
	}
}

Dependency

Add this to your module's build.gradle file:

dependencies {
	...
	implementation 'com.github.BUSY-LOOPING:NestedScrollableHost:0.0.2'
	}
}

(If the class is still not acessible, add this to your 'settings.gradle' file):

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { url "https://jitpack.io" } //this line is important
        jcenter() // Warning: this repository is going to shut down soon
    }
}

About

This is a java implementation of ViewPager2 wrapper class to enable nested scrolling in viewpager2 (which is disabled by default unlike ViewPager)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published