FileDocCategorySizeDatePackage
DataSetObserver.javaAPI DocAndroid 1.5 API1452Wed May 06 22:41:54 BST 2009android.database

DataSetObserver

public abstract class DataSetObserver extends Object
Receives call backs when a data set has been changed, or made invalid. The typically data sets that are observed are {@link Cursor}s or {@link android.widget.Adapter}s. DataSetObserver must be implemented by objects which are added to a DataSetObservable.

Fields Summary
Constructors Summary
Methods Summary
public voidonChanged()
This method is called when the entire data set has changed, most likely through a call to {@link Cursor#requery()} on a {@link Cursor}.

        // Do nothing
    
public voidonInvalidated()
This method is called when the entire data becomes invalid, most likely through a call to {@link Cursor#deactivate()} or {@link Cursor#close()} on a {@link Cursor}.

        // Do nothing