Android - Cursor Is Deprecated
working on a android app to develop my skills i am trying to delete all data on sqlite and and listview and then i requery the cursor to reflect the changes but i keep on getting c
Solution 1:
The "new" way is to just instantiate a whole new cursor.
instead of c.requery();
you would do
c = query(uri, ...);
Solution 2:
You can get the answer here: http://developer.android.com/reference/android/database/Cursor.html#requery()
Post a Comment for "Android - Cursor Is Deprecated"