SQLite cursor.getPosition() function in Android always return -1

前端 未结 0 1237
名媛妹妹
名媛妹妹 2021-02-15 00:35

this function I wrote to return table row position, but always return -1

public int GetPosition(){
    SQLiteDatabase db = getReadableDatabase();
    Cursor cr =          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题