Hello, I have a problem saving the last view position of the user, eg:
The user sweeps the list and when clicking on a position the app opens a new Activity and when returning to list it returns to the top, in case it would have to return to the position of the last selection.
I've gone through this and managed to solve however I was using the ListView, I used the:
lista = (ListView) findViewById(R.id.lst);
Parcelable posicaoFoco;
posicaoFoco = lista.onSaveInstanceState();
lista.onRestoreInstanceState(posicaoFoco);
Now I'm using RecyclerView but it does not accept it.