I have an AppBarLayout and NestedScrollView. I want the NestedScrollView whenever it scroll down, the AppBarLayout should also expand gracefully, without the NestedScrollVie
You Should Check for NestedScrollView And NestedScrollingChild
if (target instanceof NestedScrollView && Math.abs(velocityY) > 8000) {
consumed = false;
}
if (target instanceof NestedScrollingChild && Math.abs(velocityY) > 8000) {
consumed = false;
}
The problem has been solved with the libraries in this repository.
(https://developer.android.com/topic/libraries/support-library/setup.html)
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}