android.database.Cursor 在调用 cursor.getString(index); 方法时出现
android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 11
解决办法
cursor.moveToFirst();
然后再去
cursor.getString(index);
android.database.Cursor 在调用 cursor.getString(index); 方法时出现
android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 11
解决办法
cursor.moveToFirst();
然后再去
cursor.getString(index);