Skip to content Skip to sidebar Skip to footer

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:

Post a Comment for "Android - Cursor Is Deprecated"