What nachit and how to remove it?

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

  • Error when working with the cursor. - Suvitruf
  • What to do when someone answered your question - pavlofff

1 answer 1

an error means that your cursor is not set to any position. use something like cursor.moveToFirst() to specify where to read the data (in this case, from the first position)