Need help with linkScrollMsky?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

AndroidMsky
125 Stars 32 Forks 5 Commits 0 Opened issues

Description

Link Scroll CoordinatorLayout,仿知乎个人主页渐隐嵌套滑动。

Services available

!
?

Need anything else?

Contributors list

linkScrollMsky

Link Scroll CoordinatorLayout,仿知乎个人主页渐隐嵌套滑动。

讲解链接:

http://blog.csdn.net/AndroidMsky/article/details/53784984

觉得有帮助,欢迎star fork支持作者。

先看知乎的效果:

这里写图片描述

再看我们实现的效果:

这里写图片描述

网上也有很多嵌套滑动的例子,先说说我这个的优点。

1.头部可以参与滑动

2.下面可以加viewpager

3.支持RecyclerView和ScrollView

4.基于Behavior可以获取事实滚动距离可做更多联动

5.不必重写过多的滑动事件处理,几乎只是玩xml

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.