English | Site Directory

Android - An Open Handset Alliance Project

android.database
public class

android.database.DataSetObservable

java.lang.Object
android.database.Observable
android.database.DataSetObservable

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

Summary

Fields inherited from class android.database.Observable

Public Constructors

          DataSetObservable()

Public Methods

        void  notifyChanged()
Invokes onChanged on each observer.
        void  notifyInvalidated()
Invokes onInvalidated on each observer.
Methods inherited from class android.database.Observable
Methods inherited from class java.lang.Object

Details

Public Constructors

public DataSetObservable()

Public Methods

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.

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 m5-rc15g - 14 May 2008 12:50