Added in API level 1

DataSetObservable


open class DataSetObservable : Observable<DataSetObserver!>
kotlin.Any
   ↳ android.database.Observable<android.database.DataSetObserver>
   ↳ android.database.DataSetObservable

A specialization of Observable for DataSetObserver that provides methods for sending notifications to a list of DataSetObserver objects.

Summary

Public constructors

Public methods
open Unit

Invokes DataSetObserver#onChanged on each observer.

open Unit

Invokes DataSetObserver#onInvalidated on each observer.

Inherited functions
Inherited properties

Public constructors

DataSetObservable

DataSetObservable()

Public methods

notifyChanged

Added in API level 1
open fun notifyChanged(): Unit

Invokes DataSetObserver#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

Added in API level 1
open fun notifyInvalidated(): Unit

Invokes DataSetObserver#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.