'Listen to any changes in a cursor in android

I would like to listen to any changes in a cursor. Is it possible to achieve this without using a contentprovider in android?

Note:(I am not using any data adapter)

Thanks



Solution 1:[1]

As far as I know, if your changes in the cursor are due to requery() or some other method on the cursor like close(), then you can use a dataset observer to track the changes.

But you will need a content provider, if you want to be updated automatically when something changes in your data source, eg your sqlite database.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 General Grievance