android.database
public
abstract
class
android.database.ContentObserver
Receives call backs for changes to content. Must be implemented by objects which are added
to a ContentObservable.
Known Direct Subclasses
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
ContentObserver(Handler handler)
onChange() will happen on the provider Handler.
Public Methods
public
boolean
deliverSelfNotifications()
Returns true if this observer is interested in notifications for changes
made through the cursor the observer is registered with.
public
final
void
dispatchChange(boolean selfChange)
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.
|