ConsecutiveScroller

Introduction: ConsecutiveScrollerLayout 是 Android 下支持多个滑动布局(RecyclerView、WebView、ScrollView 等)和普通控件(TextView、ImageView、LinearLayou、自定义 View 等)持续连贯滑动的容器,它使所有的子 View 像一个整体一样连续顺畅滑动。并且支持布局吸顶功能。
More: Author   ReportBugs   
Tags:

ConsecutiveScrollerLayout 是 Android 下支持多个滑动布局(RecyclerView、ViewPager、WebView、ScrollView 等)和普通控件(TextView、ImageView、LinearLayou、自定义 View 等)持续连贯滑动的容器,它使所有的子 View 像一个整体一样连续顺畅滑动。

ConsecutiveScrollerLayout 支持多种模式的布局吸顶功能,能动态控制吸顶 View 的显示位置和状态,能适用于大部分的业务场景。

ConsecutiveScrollerLayout 能通过实现接口,支持复杂的、多层嵌套下的滑动布局的滑动处理。

ConsecutiveScrollerLayout 支持 NestedScrolling 机制。

效果图

sample sticky permanent_sticky sink_sticky viewpager

引入依赖

在 Project 的 build.gradle 在添加以下代码

allprojects {
      repositories {
         ...
         maven { url 'https://jitpack.io' }
      }
   }

在 Module 的 build.gradle 在添加以下代码


implementation 'com.github.donkingliang:ConsecutiveScroller:4.6.4'

使用文档

查看文档请移步 wiki

LICENSE

Apache-2.0 license

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

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools