I'm new to programming for android, and I just made my first app, but I'm having a problem, which is:
My game has the start menu with the button to start the game and information about the high score.
Starting the game goes to a second screen where the game starts and the screen shows the current score and the score to be beat.
On this screen I was able to save the data with SharedPreferences
, that is, on this screen everything is ok, but I want to put the information of Highscore
of this second screen in the first one, how to do it?
On the internet, I figured to go from the first screen to the second, but I did not find it from the second screen to the first one.