0

I'm using a SimpleCursorAdapter to display data from a Cursor in a ListView. When the user clicks a list item, the Cursor moves to the item position and retrieves some data from that row. Is this okay when I have already set an Adapter for the Cursor? Or should I move back to the first row when I'm done fetching data?

1 Answer 1

1

It is the responsibility of anything using a Cursor to set its own position. Hence, you should not need to "move back to the first row when I'm done fetching data".

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.