Skip to content

The missing two dimensional scroll view for Android that is not obsolete

License

Notifications You must be signed in to change notification settings

ultimate-deej/TwoWayNestedScrollView

Repository files navigation

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.

Contributing

The purpose of this library is to provide a fork of NestedScrollView that can scroll in both dimensions, while making the least possible changes to the logic. As a result:

What may be accepted

  • Fixes for bugs introduced in this fork

What will NOT be accepted

  • Fixes for bugs existing in the Google's original implementation will NOT be accepted
  • New features will NOT be accepted
  • Everything else

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.

About

The missing two dimensional scroll view for Android that is not obsolete

Topics

Resources

License

Stars

Watchers

Forks

Languages