In my app, I start at the main activity, and there is a plus sign that takes you through a series of popup windows. Inside the popup windows, it has edittexts that the user can edit in order to set the title of a button. The newly created button is made when another button is pressed. The newly created button is then put on the MainActivity and all popup windows are dismissed.
My question is, how would you save that newly created button when the app is completely terminated (when you swipe right to close the app in the overview window)? I want to be able when I reopen the app, the button is still there, and the app doesn't return to its original state.
Thank you in advance. Hopefully this post makes sense.
How do you save the current state of the mainActivity and recreate it on reopen.