I populate ListView with data from a Sqlite database using custom CursorAdapter.
When user moves away from my activity and comes back later I loose the position in my cursor and the ListView is positioned to the first item again.
When skipping startManagingCursor() it works as expected. How do I work around this?
Here is a code snippet called OnCreate():
cursor = db.getAll();
startManagingCursor(cursor);
myAdapter = new MyAdapter(listview.getContext(), cursor, true);
listview.setAdapter(myAdapter);