Overview
A NestedScrollView
modified to scroll along both axes.
- Scrolling in both dimensions at the same time
-
liftOnScroll
* -
fillViewport
works in both dimensions too - X-Axis keyboard navigation
*The entirety of the nested scroll thing has not been tested much, but lift on scroll feature of AppBarLayout works just fine.
Installation
repositories {
// your repos
maven { url "https://jitpack.io" }
}
dependencies {
implementation 'com.github.ultimate-deej:twowaynestedscrollview:0.1'
}
or
Just copy this file to your project.
What has been changed?
Except for making X-axis logic align with its Y-axis counterpart, no other changes have been made to how the widget works. The essential commit you are looking for.
Known issues
There has been no changes made to accessibility and focus handling, and just partially to keyboard navigation.