[ Web Proxy ]
URL:
Viewing: https://developer.android.com/reference/android/database/DataSetObservable [Back]  [Original]

DataSetObservable  |  API reference  |  Android Developers Skip to main content
Essentials Design & Plan Develop Google Play Blog
Search:
Android Studio
Android Developers [Android Developers]
Stay organized with collections Save and categorize content based on your preferences.

DataSetObservable


public class DataSetObservable
extends Observable<DataSetObserver>

java.lang.Object
   ↳ 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

Inherited fields

Public constructors

DataSetObservable()

Public methods

void notifyChanged()

Invokes DataSetObserver.onChanged on each observer.

void notifyInvalidated()

Invokes DataSetObserver.onInvalidated on each observer.

Inherited methods

Public constructors

DataSetObservable

public DataSetObservable ()

Public methods

notifyChanged

Added in API level 1
public void notifyChanged ()

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
public void notifyInvalidated ()

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.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-08-03 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-03 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page