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

recyclerView更换LayoutManager时,HeaderAndFooterView偏移 #10

Open
Joy-Whale opened this issue Nov 7, 2016 · 2 comments
Open

recyclerView更换LayoutManager时,HeaderAndFooterView偏移 #10

Joy-Whale opened this issue Nov 7, 2016 · 2 comments

Comments

@Joy-Whale
Copy link

当我将recyclerView动态由LinearManager改变为GridManager时,CanRecyclerHeaderAndFooterView向上偏移到底部与RecyclerView对齐。’

@canyinghao
Copy link
Owner

CanRecyclerHeaderAndFooterView对动态更换支持的不好,你可以试试remove掉后重新添加。

@Joy-Whale
Copy link
Author

谢谢,已解决,是重新加载的时候没有重新计算ItemDecoration高度导致的

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