android.database.sqlite.SQLiteCursor@435b9ba0

后端 未结 2 1018
遇见更好的自我
遇见更好的自我 2021-01-18 13:27

I am getting the text \'android.database.sqlite.SQLiteCursor@435b9ba0\' returned from a spinner.getSelectedItem().toString() call. I\'m not sure why. The spinner is tied to

2条回答
  •  一整个雨季
    2021-01-18 14:06

    i can be bothered reading your context, but just wanted to briefly help. i have a column named after DbHelper.KEY_COL, and i am retrieving a DbHelper.KEY_COL value at a specific row. perhaps some of my code would help:

    Cursor colCur=(Cursor)spCols.getSelectedItem();
    String col=colCur.getString(colCur.getColumnIndex(DbHelper.KEY_COL));
    

提交回复
热议问题