I am trying to determine if a certain row exists, when I am just looking for the first row I use
Cursor_element.moveToFirst() which returns a boolean
but for other rows, what function would I use? I am trying
Cursor_element.moveToPosition(7)
where I am guessing that the moveToPosition counts cells? but I don’t know
what is the best way to determine if a row exists?
Use
Reference: http://developer.android.com/reference/android/database/sqlite/SQLiteCursor.html#getCount%28%29