Can we move a cursor
in Android
to a certain position based on ID
?
The moveToPosition()
uses the position of type int
to move the cursor
. I need to move the cursor
to a record based on the stored ID
.
No, sorry. Cursor
has no form of internal query engine to find positions based on particular cell values ("find me the position in which cell whose name is _id
has the value of 123").