How to observe contentprovider change? android How to observe contentprovider change? android android android

How to observe contentprovider change? android


You can use the ContentObserver class. You just have to implement that class and use the getContentResolver().registerContentObserver() method to register the observer.