File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,18 @@ public void unregisterDataSetObserver(DataSetObserver observer) {
4343 }
4444
4545 /**
46- * Notifies the attached View that the underlying data has been changed
47- * and it should refresh itself.
46+ * Notifies the attached observers that the underlying data has been changed
47+ * and any View reflecting the data set should refresh itself.
4848 */
4949 public void notifyDataSetChanged () {
5050 mDataSetObservable .notifyChanged ();
5151 }
52-
52+
53+ /**
54+ * Notifies the attached observers that the underlying data is no longer valid
55+ * or available. Once invoked this adapter is no longer valid and should
56+ * not report further data set changes.
57+ */
5358 public void notifyDataSetInvalidated () {
5459 mDataSetObservable .notifyInvalidated ();
5560 }
You can’t perform that action at this time.
0 commit comments