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或者listview没有数据 刷新头部和底部一直存在 这个 #74

Open
moujunqiang opened this issue Jan 25, 2018 · 1 comment

Comments

@moujunqiang
Copy link

``

@liaoinstan
Copy link
Owner

你是说header和footer一直显示在页面上吗?你用的overlap模式的话要给listview设置不透明的背景色遮挡 ,因为这个模式就是利用视图遮挡实现的,follow模式不会出现这个问题,注意看demo都有这些情况的示例。
如果你说的是空数据情况下不希望用户继续拖拽出header和footer的话,你可以调用setEnableHeader,setEnableFooter禁用拖拽即可

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