Reference:Android.database.ContentObserver
From Triled Wiki
android.database
public abstract class android.database.ContentObserver
| java.lang.Object | ||
| android.database.ContentObserver | ||
Contents |
[edit] Known Direct Subclasses
AbstractCursor.SelfContentObserver
[edit] Summary
[edit] Public Constructors
| ContentObserver (Handler handler) | |||||
| onChange() will happen on the provider Handler. | |||||
[edit] Public Methods
| boolean | deliverSelfNotifications () | ||||
| Returns true if this observer is interested in notifications for changes made through the cursor the observer is registered with. | |||||
| final | void | dispatchChange (boolean selfChange) | |||
| void | onChange (boolean selfChange) | ||||
| This method is called when a change occurs to the cursor that is being observed. | |||||
[edit] Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
[edit] Details
[edit] Public Constructors
[edit] public ContentObserver(Handler handler)
onChange() will happen on the provider Handler.
Parameters
| handler | The handler to run onChange(boolean) on. |
|---|
[edit] Public Methods
[edit] public boolean deliverSelfNotifications()
Returns true if this observer is interested in notifications for changes made through the cursor the observer is registered with.
[edit] public final void dispatchChange(boolean selfChange)
[edit] public void onChange(boolean selfChange)
This method is called when a change occurs to the cursor that is being observed.
Parameters
| selfChange | true if the update was caused by a call to commit on the cursor that is being observed. |
|---|
[edit] References
- Original documentation page for Android SDK build m5-rc15e - 14 apr 2008 17:27
