Package android.database
Class DataSetObservable
- java.lang.Object
-
- android.database.Observable<DataSetObserver>
-
- android.database.DataSetObservable
-
public class DataSetObservable extends Observable<DataSetObserver>
A specialization ofObservableforDataSetObserverthat provides methods for sending notifications to a list ofDataSetObserverobjects.
-
-
Field Summary
-
Fields inherited from class android.database.Observable
mObservers
-
-
Constructor Summary
Constructors Constructor Description DataSetObservable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnotifyChanged()InvokesDataSetObserver.onChanged()on each observer.voidnotifyInvalidated()InvokesDataSetObserver.onInvalidated()on each observer.-
Methods inherited from class android.database.Observable
registerObserver, unregisterAll, unregisterObserver
-
-
-
-
Method Detail
-
notifyChanged
public void notifyChanged()
InvokesDataSetObserver.onChanged()on each observer. Called when the contents of the data set have changed. The recipient will obtain the new contents the next time it queries the data set.
-
notifyInvalidated
public void notifyInvalidated()
InvokesDataSetObserver.onInvalidated()on each observer. Called when the data set is no longer valid and cannot be queried again, such as when the data set has been closed.
-
-