'Notify data change in a cursor without using a ContentProvider

Can i notify a cursor after a new record is inserted in a table without using a ContentProvider?

I saw this question - he said that he used the requery() method.

And the first answer use a ContentProvider - note: I want to use this data only within the application

Any suggestion?



Solution 1:[1]

if you're not using content providers and cursorloaders, you have to go old school. Your DB curser should have a "requery" invoked. The documentation warns against this expensive code, but that's why they made cursorloaders - to address those issues.

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 Martin