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

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

Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐