I'm developing a quiz app. The situation is:
The user chooses a quiz by touching a button, that opens a new Activity. Inside of this activity the user has to write something on a TextView and than press another button to see if the text is right. If it is right, then another last activity is opened.
At the moment, when the user returns back to the main activity, where he has to choose the quiz, if he chooses the same quiz he has to write down the answer again.
I need to find a way to save the answer, so that the app doesn't display the activity where he has to write down the answer anymore. It should jump immediately to the last activity. I know I can manage this using SharedPreferences, but i don't know ho to set it up.