English | Site Directory

Android - An Open Handset Alliance Project

android.database
public class

android.database.ContentObservable

java.lang.Object
android.database.Observable
android.database.ContentObservable

A specialization of Observable for ContentObserver that provides methods for invoking the various callback methods of ContentObserver.

Summary

Fields inherited from class android.database.Observable

Public Constructors

          ContentObservable()

Public Methods

        void  dispatchChange(boolean selfChange)
invokes dispatchUpdate on each observer, unless the observer doesn't want self-notifications and the update is from a self-notification
        void  notifyChange(boolean selfChange)
invokes onChange on each observer
Methods inherited from class android.database.Observable
Methods inherited from class java.lang.Object

Details

Public Constructors

public ContentObservable()

Public Methods

public void dispatchChange(boolean selfChange)

invokes dispatchUpdate on each observer, unless the observer doesn't want self-notifications and the update is from a self-notification

public void notifyChange(boolean selfChange)

invokes onChange on each observer
Build m5-rc15g - 14 May 2008 12:50