Closed chalup closed 11 years ago
The smelly thing here is returning -1 from getColumnIndexOrThrow, but it's necessary to make the EmptyCursor work with CursorAdapter, which expects the BaseColumns._ID column to be present in non-null Cursors.
The smelly thing here is returning -1 from getColumnIndexOrThrow, but it's necessary to make the EmptyCursor work with CursorAdapter, which expects the BaseColumns._ID column to be present in non-null Cursors.