Posts tagged “ContentObserver”:
Use Android’s ContentObserver in Your Code to Listen to Data Changes
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”