Invokes onChanged on each observer. Called when the data set being observed has changed, and which when read contains the new state of the data. synchronized(mObservers) { for (DataSetObserver observer : mObservers) { observer.onChanged(); } }
synchronized(mObservers) { for (DataSetObserver observer : mObservers) { observer.onChanged(); } }
Invokes onInvalidated on each observer. Called when the data set being monitored has changed such that it is no longer valid. synchronized (mObservers) { for (DataSetObserver observer : mObservers) { observer.onInvalidated(); } }
synchronized (mObservers) { for (DataSetObserver observer : mObservers) { observer.onInvalidated(); } }