Android
android.database
public abstract class

android.database.ContentObserver

java.lang.Object
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

            ContentObserver(Handler handler)
onChange() will happen on the provider Handler.

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.
Methods inherited from class java.lang.Object

Details

Public Constructors

public ContentObserver(Handler handler)

onChange() will happen on the provider Handler.

Parameters

handler The handler to run onChange(boolean) on.

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.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56