For instance, if I have an app that has several forms that use several activities, and then sends data to a website from the final activity, would it be considered bad practice to store the responses of that form in SharedPreferences and then retrieve the data and clear the SharedPreferences? I suppose I could pass them in a bundle but I would like a user to be able to come back to the app if they were in the middle of a session.
Share
If it’s not a lot of data. SharedPreferences is good enough. A better option might be to store it as JSON in a file and then load it again when the user comes back.