protected
static
class
AbstractCursor.SelfContentObserver
extends ContentObserver
java.lang.Object | ||
↳ | android.database.ContentObserver | |
↳ | android.database.AbstractCursor.SelfContentObserver |
Cursors use this class to track changes others make to their URI.
Public constructors | |
---|---|
AbstractCursor.SelfContentObserver(AbstractCursor cursor)
|
Public methods | |
---|---|
boolean
|
deliverSelfNotifications()
Returns true if this observer is interested receiving self-change notifications. |
void
|
onChange(boolean selfChange)
This method is called when a content change occurs. |
Inherited methods | |
---|---|
From
class
android.database.ContentObserver
| |
From
class
java.lang.Object
|
AbstractCursor.SelfContentObserver (AbstractCursor cursor)
Parameters | |
---|---|
cursor |
AbstractCursor
|
boolean deliverSelfNotifications ()
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. |
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.
|