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 |
open Unit |
Invokes |
Inherited functions | |
---|---|
Inherited properties | |
---|---|
Public constructors
DataSetObservable
DataSetObservable()
Public methods
notifyChanged
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
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.