Most visited

Recently visited

Added in API level 1

DataSetObservable

public class DataSetObservable
extends Observable<DataSetObserver>

java.lang.Object
   ↳ android.database.Observable<android.database.DataSetObserver>
     ↳ android.database.DataSetObservable


针对 DataSetObserverObservable专业化 DataSetObserver ,提供了将通知发送到 DataSetObserver对象列表的 DataSetObserver

Summary

Inherited fields

From class android.database.Observable

Public constructors

DataSetObservable()

Public methods

void notifyChanged()

在每个观察者上调用 onChanged()

void notifyInvalidated()

在每个观察者上调用 onInvalidated()

Inherited methods

From class android.database.Observable
From class java.lang.Object

Public constructors

DataSetObservable

Added in API level 1
DataSetObservable ()

Public methods

notifyChanged

Added in API level 1
void notifyChanged ()

在每个观察者上调用onChanged() 当数据集的内容发生变化时调用。 收件人将在下次查询数据集时获取新内容。

notifyInvalidated

Added in API level 1
void notifyInvalidated ()

在每个观察者上调用onInvalidated() 当数据集不再有效且无法再次查询时调用,例如数据集已关闭时调用。

Hooray!