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

头部是否可以悬浮呢? #18

Open
fmzq opened this issue Sep 7, 2017 · 5 comments
Open

头部是否可以悬浮呢? #18

fmzq opened this issue Sep 7, 2017 · 5 comments

Comments

@fmzq
Copy link

fmzq commented Sep 7, 2017

No description provided.

@shineM
Copy link
Owner

shineM commented Sep 7, 2017

不支持,提供两种思路吧:1.自己写一个OnScrollListener,然后传给nodeBinder判断做相应的头部位移操作;2.找一个只用给RecyclerView和header数据就可以搞定悬浮的开源控件,然后通过TreeView.getView()拿到RecyclerView并把header构造好传给悬浮控件

@fmzq
Copy link
Author

fmzq commented Sep 8, 2017

我用你说的第二种思路去做了,并运行在demo上,发现item位置会错乱。要重新调整的话还是挺麻烦的。

@shineM
Copy link
Owner

shineM commented Sep 8, 2017

感觉只能重写了

@fmzq
Copy link
Author

fmzq commented Sep 11, 2017

为什么不维护了呢?TreeView是通过new创建,那么加上刷新等功能就比较麻烦了。拓展性被限制了。还是很期待你的这个库,毕竟是用RecyclerView来完成

@shineM
Copy link
Owner

shineM commented Sep 11, 2017

最近比较忙,非常抱歉,周末有时间我试试吧

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

2 participants