Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 20 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-28T06:57:07.000Z (over 1 year ago)
- Last Synced: 2024-10-22T22:20:26.490Z (25 days 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,705
- Watchers: 42
- Forks: 356
- 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机制。
## 效果图
![sample](https://upload-images.jianshu.io/upload_images/2365010-1d0ebf289428ce8c.gif?imageMogr2/auto-orient/strip)
![sticky](https://upload-images.jianshu.io/upload_images/2365010-f2b64d20022d2566.gif?imageMogr2/auto-orient/strip)
![permanent_sticky](https://github.com/donkingliang/ConsecutiveScroller/blob/master/image/permanent_sticky.gif?raw=true)
![sink_sticky](https://github.com/donkingliang/ConsecutiveScroller/blob/master/image/sink_sticky.gif?raw=true)
![viewpager](https://github.com/donkingliang/ConsecutiveScroller/blob/master/image/viewpager.gif?raw=true)## 引入依赖
在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)。