如何刷新一个Android 的ListView
添加/删除动态数据?在
How to refresh an Android ListView
after adding/deleting dynamic data?
呼叫notifyDataSetChanged()在适配器
对象一旦你在该适配器修改的数据。
Call notifyDataSetChanged()
on your Adapter
object once you've modified the data in that adapter.
这是一些额外的细节如何/何时调用notifyDataSetChanged()可以在查看此谷歌I / O视频。
Some additional specifics on how/when to call notifyDataSetChanged() can be viewed in this Google I/O video.