Build 1.0_r1(from source)

android.database
Class AbstractCursor.SelfContentObserver

java.lang.Object
  extended by android.database.ContentObserver
      extended by 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.


Field Summary
(package private)  WeakReference<AbstractCursor> mCursor
           
 
Fields inherited from class android.database.ContentObserver
mHandler
 
Constructor Summary
AbstractCursor.SelfContentObserver(AbstractCursor cursor)
           
 
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 android.database.ContentObserver
dispatchChange, getContentObserver, releaseContentObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mCursor

WeakReference<AbstractCursor> mCursor
Constructor Detail

AbstractCursor.SelfContentObserver

public AbstractCursor.SelfContentObserver(AbstractCursor cursor)
Method Detail

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.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature