Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在重新填充备份适配器的列表然后刷新和显示它时,最佳实践是什么?
谢谢!
当适配器中的数据发生变化时,您必须调用notifyDatasetChaged(). 它应该负责为您重新绘制列表。
notifyDatasetChaged()