문제

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 registered listeners, but use notifyDataSetChanged() to not notify them?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top