The Wayback Machine - http://web.archive.org/web/20230208230451/https://developer.android.com/reference/android/database/AbstractCursor.SelfContentObserver
Stay organized with collections
Save and categorize content based on your preferences.
This method was deprecated
in API level 16.
Callers should migrate towards using a richer overload that
provides more details about the change, such as
dispatchChange(boolean, java.util.Collection, int).
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
Returns true if this observer is interested receiving self-change notifications.
Subclasses should override this method to indicate whether the observer
is interested in receiving notifications for changes that it made to the
content itself.
Returns
boolean
True if self-change notifications should be delivered to the observer.
onChange
public void onChange (boolean selfChange)
This method is called when a content change occurs.
Subclasses should override this method to handle content changes.
Parameters
selfChange
boolean: True if this is a self-change notification.
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 2023-02-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]