Grokking Android

Getting Down to the Nitty Gritty of Android Development

Posts tagged “onChange()”:

Use Android’s ContentObserver in Your Code to Listen to Data Changes

By

When you are using a content provider as a client, chances are that you want to know whenever the data changes. That’s what Android’s class ContentObserver is for. To use the ContentObserver you have to take two steps: Implement a subclass of ContentObserver Register your content observer to listen for changes Implement a subclass of […]  Continue Reading  “Use Android’s ContentObserver in Your Code to Listen to Data Changes”