I'm new to Android Studio, and I have a problem with my app.
I have two activities with some buttons that count click number and put the result on a text view. One of the buttons in the first activity start the second activity. In the second activity, I have to choose between 10 buttons which count click and set number in a text view, and after every click I have to return to the first activity. Then, the same process is repeated again.
I know how to change activity, but I don't know how to restore the first activity from the second, maintaining the text view value and the same when restore the second activity from the first.
How can I do it?