https://github.com/donkingliang/consecutivescroller
ConsecutiveScrollerLayout是Android下支持多个滑动布局(RecyclerView、WebView、ScrollView等)和普通控件(TextView、ImageView、LinearLayou、自定义View等)持续连贯滑动的容器,它使所有的子View像一个整体一样连续顺畅滑动。并且支持布局吸顶功能。
https://github.com/donkingliang/consecutivescroller
android android-ui custom-view nestedscrolling nestedscrollingchild nestedscrollingparent recyclerview-nestedscrollview recyclerview-webview-scrollview scrollview sticky sticky-headers
Last synced: 10 months ago
JSON representation
ConsecutiveScrollerLayout是Android下支持多个滑动布局(RecyclerView、WebView、ScrollView等)和普通控件(TextView、ImageView、LinearLayou、自定义View等)持续连贯滑动的容器,它使所有的子View像一个整体一样连续顺畅滑动。并且支持布局吸顶功能。
- Host: GitHub
- URL: https://github.com/donkingliang/consecutivescroller
- Owner: donkingliang
- License: apache-2.0
- Created: 2020-03-15T08:01:26.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-28T06:57:07.000Z (almost 3 years ago)
- Last Synced: 2025-04-07T01:08:58.351Z (10 months ago)
- Topics: android, android-ui, custom-view, nestedscrolling, nestedscrollingchild, nestedscrollingparent, recyclerview-nestedscrollview, recyclerview-webview-scrollview, scrollview, sticky, sticky-headers
- Language: Java
- Homepage:
- Size: 6.95 MB
- Stars: 2,787
- Watchers: 42
- Forks: 357
- Open Issues: 49
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 简介
ConsecutiveScrollerLayout是Android下支持多个滑动布局(RecyclerView、ViewPager、WebView、ScrollView等)和普通控件(TextView、ImageView、LinearLayou、自定义View等)持续连贯滑动的容器,它使所有的子View像一个整体一样连续顺畅滑动。
ConsecutiveScrollerLayout支持多种模式的布局吸顶功能,能动态控制吸顶View的显示位置和状态,能适用于大部分的业务场景。
ConsecutiveScrollerLayout能通过实现接口,支持复杂的、多层嵌套下的滑动布局的滑动处理。
ConsecutiveScrollerLayout支持NestedScrolling机制。
## 效果图





## 引入依赖
在Project的build.gradle在添加以下代码
```groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
在Module的build.gradle在添加以下代码
```groovy
implementation 'com.github.donkingliang:ConsecutiveScroller:4.6.4'
```
## 使用文档
查看文档请移步 [wiki](https://github.com/donkingliang/ConsecutiveScroller/wiki)
## LICENSE

ConsecutiveScroller 基于 Apache-2.0 协议进行分发和使用,更多信息参见 [协议文件](LICENSE)。