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

item不满时的bug,和一些建议 #14

Open
linger1216 opened this issue Jan 24, 2015 · 1 comment
Open

item不满时的bug,和一些建议 #14

linger1216 opened this issue Jan 24, 2015 · 1 comment

Comments

@linger1216
Copy link

  1. item不满的时候,会自动触发loadmore
  2. 建议: 希望增加下拉的开关

起初我设置了head为null,调用listView.refresh()没有任何反应...于是我手动载入数据,中间就不会有任何动画显示,显得很变扭.希望能改善下.

所以希望另外封装一个下拉关闭的函数,并不要直接设置head=null,以达到.

下拉关闭,上拉关闭时, 用户调用listView.refresh(),head有载入动画,显示数据
下拉关闭,上拉开启时, 用户调用listView.refresh(),foot有载入动画,显示数据
下拉开启,上拉关闭时, 用户调用listView.refresh(),head有载入动画,显示数据
下拉开启,上拉开启时, 用户调用listView.refresh(),head有载入动画,显示数据

这样显得更人性点.

最后谢谢,lib写的很不错.有机会拜读学习下,

@feer921
Copy link

feer921 commented Aug 14, 2015

mListView.setFootable(footer);
如果 不设置footer,运行报空指针
同样遇到item不满时,下拉刷新会显示上拉加载更多的动画

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