I am trying to go back and forth from page A to B and vice versa without losing any info that has been updated. For example, lets say by default a pic on page B is a blank screen, but then the user updated it to something. Then if the user goes back to page A and then back to back B again, the pic for B should still be the pic that the user selected, not the default pic.
I have tried using onBackPressed() for page B, but I have no idea what to do for page A (or if onBackPressed even works they way I want it to). The reason for this is because when you click the button to go from A to B, I create a new intent. Thus, I will be losing all of the updates on page B. Is there like a "forward" feature or something so that I dont create a new Intent for any of em?