Android ListView Adapter notifyDataSetInvalidated() vs notifyDataSetChanged()

前端 未结 1 487
-上瘾入骨i
-上瘾入骨i 2020-12-24 04:58

What is the difference? The android documentation doesn\'t have a description for notifyDataSetInvalidated(). I was thinking maybe you call that function to notify all regis

相关标签:
1条回答
  • 2020-12-24 05:21

    Changed means the data set changed. Individual items updated, or items were added or removed. Invalidated means the data source is no longer available.

    0 讨论(0)
提交回复
热议问题