Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何让headerView也能够根据相应scrollView的滚动事件? #41

Open
Chaos1019 opened this issue Nov 1, 2017 · 3 comments

Comments

@Chaos1019
Copy link

Chaos1019 commented Nov 1, 2017

我自定义了一个headerView,现在有一个需求是不仅滑动scrollView时,整体向上偏移。当滑动那个headerView时,也要求有同样的效果,请问应该怎么实现?我还是个菜鸟,麻烦给个思路也行,先谢谢了🙏!

@AugustRush
Copy link
Owner

demo里不可以吗?

@Wim24
Copy link

Wim24 commented Sep 7, 2019

demo里不可以吗?

demo里不行,header高度超过屏幕时,就无法操作了。 这个怎么解决呢?

@Wim24
Copy link

Wim24 commented Sep 8, 2019

屏幕快照 2019-09-08 下午9 41 34

屏幕快照 2019-09-08 下午9 42 01

试着改了一下CustomHeader如上图,可以实现滑动 。不知道有没有和作者设计违背。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants