【问题标题】:Pull to refresh and load in listview [closed]拉动刷新并加载到列表视图中[关闭]
【发布时间】:2013-03-18 09:16:58
【问题描述】:

我需要在列表视图中实现拉取刷新和加载。我使用自定义适配器创建列表视图。我如何使用适配器类实现拉取刷新和加载。

有人可以帮我吗?

【问题讨论】:

标签: android listview custom-adapter pull-to-refresh


【解决方案1】:

这里是适合您要求的现成参考演示。只需查看以下链接以了解 Pull To Refresh 实施。

1) Pull to Refresh
2) Refreshable ListView
3)Android Pull to Refresh

我希望它能指导你。

谢谢。

【讨论】:

  • 您应该将#3 的链接更新到新项目。 github.com/chrisbanes/ActionBar-PullToRefresh
  • @mattblang 谢谢我更新了我的答案。
  • @mattblang 另外,对于看到此内容的任何人来说,第三个选项仅供参考,第三个选项由 Google 员工 Chris Banes 编写,非常类似于您在 Gmail 应用中看到的拉动刷新。
猜你喜欢
  • 1970-01-01
  • 2012-11-18
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-10-13
相关资源
最近更新 更多