Cursor.requery() is a very common method while using it to refresh a ListView’s content. But why is this method marked “deprecated”? I can’t understand the reason on the API docs very clearly.
Cursor.requery() API:
http://developer.android.com/reference/android/database/Cursor.html#requery()
Can anyone please explain the reason any further? Thanks:)
I believe it was done because new Loaders API was introduced to simplify querying Cursors asynchronously.
As deprecation note says
that’s what we should be using.
update
It seems that it can also be related to deprecation of
Activity.startManaginCursor: