I have an application with riddles (riddles, deduction and logic), how can I make it so that when you click the "riddle" button, the page opens with the riddle on which the user stopped, so that he does not have to re-answer all riddles?

  • write to a file or database, and then restore the process on them - Komdosh

1 answer 1

I think that you need to use SharedPreferences: http://startandroid.ru/ru/uroki/vse-uroki-spiskom/73-urok-33-hranenie-dannyh-preferences.html

  • Ie, activation, which displays the question one, and with the help of SharedPreferences you can display the question on which you stopped before closing the application. - cosmic_M