android.database
Class AbstractCursor.SelfContentObserver
java.lang.Object
android.database.ContentObserver
android.database.AbstractCursor.SelfContentObserver
- Enclosing class:
- AbstractCursor
protected static class AbstractCursor.SelfContentObserver
- extends ContentObserver
Cursors use this class to track changes others make to their URI.
|
Method Summary |
boolean |
deliverSelfNotifications()
Returns true if this observer is interested in notifications for changes
made through the cursor the observer is registered with. |
void |
onChange(boolean selfChange)
This method is called when a change occurs to the cursor that
is being observed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mCursor
WeakReference<AbstractCursor> mCursor
AbstractCursor.SelfContentObserver
public AbstractCursor.SelfContentObserver(AbstractCursor cursor)
deliverSelfNotifications
public boolean deliverSelfNotifications()
- Description copied from class:
ContentObserver
- Returns true if this observer is interested in notifications for changes
made through the cursor the observer is registered with.
- Overrides:
deliverSelfNotifications in class ContentObserver
onChange
public void onChange(boolean selfChange)
- Description copied from class:
ContentObserver
- This method is called when a change occurs to the cursor that
is being observed.
- Overrides:
onChange in class ContentObserver
- Parameters:
selfChange - true if the update was caused by a call to commit on the
cursor that is being observed.
Please submit a feedback, bug or feature