android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1这是什么情况

来源:学生作业学帮网 编辑:学帮网 时间:2024/06/04 23:39:38

android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1
这是什么情况

数据库查询得到的cursor里面只有1个结果,你却查找第-1个,肯定不对,