I'm looking at the Notepad Tutorial on the Android developer's site and noticed that SimpleCursorAdaptor
is deprecated.
The new constructor
public SimpleCursorAdapter (Context context, int layout,
Cursor c, String[] from, int[] to, int flags)
is only available in API 11.
The suggested alternative is to use LoadManager
with a CursorLoader
, but these also require API 11. So what can replace SimpleCursorAdapter
in API 10, i.e. how should Step 12 of the tutorial be done using a non-deprecated method?