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?
1 answer
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
|