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: about 1 month 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-28T06:57:07.000Z (about 2 years ago)
- Last Synced: 2025-03-08T05:15:41.734Z (about 1 month 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,768
- Watchers: 42
- Forks: 355
- Open Issues: 49
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-android - ConsecutiveScrollerLayout - ConsecutiveScrollerLayout是Android下支持多个滑动布局(RecyclerView、WebView、ScrollView等)和lView等)和普通控件(TextView、ImageView、LinearLayou、自定义View等)持续连贯滑动的容器,它使所有的子View像一个整体一样连续顺畅滑动。并且支持布局吸顶功能。 (UI)
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在添加以下代码
```groovyimplementation 'com.github.donkingliang:ConsecutiveScroller:4.6.4'
```## 使用文档
查看文档请移步 [wiki](https://github.com/donkingliang/ConsecutiveScroller/wiki)
## LICENSE
ConsecutiveScroller 基于 Apache-2.0 协议进行分发和使用,更多信息参见 [协议文件](LICENSE)。