android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1

来源:互联网 发布:福州锋芒网络 编辑:程序博客网 时间:2024/05/16 10:30

android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1

原因:查询数据库后未使用moveToFirst()