Build 1.0_r1(from source)

android.database
Class DataSetObservable

java.lang.Object
  extended by android.database.Observable<DataSetObserver>
      extended by android.database.DataSetObservable

public class DataSetObservable
extends Observable<DataSetObserver>

A specialization of Observable for DataSetObserver that provides methods for invoking the various callback methods of DataSetObserver.


Field Summary
 
Fields inherited from class android.database.Observable
mObservers
 
Constructor Summary
DataSetObservable()
           
 
Method Summary
 void notifyChanged()
          Invokes onChanged on each observer.
 void notifyInvalidated()
          Invokes onInvalidated on each observer.
 
Methods inherited from class android.database.Observable
registerObserver, unregisterAll, unregisterObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSetObservable

public DataSetObservable()
Method Detail

notifyChanged

public void notifyChanged()
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.


notifyInvalidated

public void notifyInvalidated()
Invokes onInvalidated on each observer. Called when the data set being monitored has changed such that it is no longer valid.


Build 1.0_r1(from source)

Please submit a feedback, bug or feature