自定义时,标题始终显示在 android-pulltorefresh 中
我试图自定义 Johan Nilson 开发的 android-pulltorefresh 库。我想使用我自己的适配器而不是字符串数组。我几乎能够完成所有事情,但下拉刷新标题始终可见。 (见图)我希望它仅在我像演示应用程序那样拉动列表视图时才可见。我将我的代码与演示进行了比较,但我找不到它们之间影响布局的任何差异。
提前致谢!
I was trying to customize android-pulltorefresh library developed by Johan Nilson. I wanna use my own adapter rather than a String array. I was able to complete almost every thing but the pull to refresh header is always visible. (see the image) I want it to visible only when I pull the listview like it does with the demo app. I compared my code with the demo but I couldn't find any difference between them which effect layout.
Thanks in advance !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 PullToRefreshListView 的 onRefreshComplete() 中,完成操作后尝试以下代码:
in onRefreshComplete() in PullToRefreshListView,tried the code below when you complete your actions: