1、android.database.ContentObserver
2、extends Object
4、Receives call backs for changes to content. Must be implemented by objects which are added to a
ContentObservable
.
Public Constructors:
boolean |
deliverSelfNotifications()
Returns true if this observer is interested receiving self-change notifications.
|
final void |
dispatchChange(boolean selfChange,
Uri uri)
Dispatches a change notification to the observer.
|
final void |
dispatchChange(boolean selfChange)
This method was deprecated in API level 16. Use dispatchChange(boolean, Uri) instead.
|
void |
onChange(boolean selfChange,
Uri uri)
This method is called when a content change occurs.
|
void |
onChange(boolean selfChange)
This method is called when a content change occurs.
|
用法:http://www.cnblogs.com/slider/archive/2012/02/14/2351702.html