I want to do 2 things. I want to be able to cache data so that I can "save" variables when I move from 1 activity to another where the variables of the first are not needed in the second.
I also want to be able to formally save the data upon the file exiting. Unfortunately my issue is, I can't find any documentation on how to complete these.
There are 4 strings (listed below) that I want to save long term as well as temporarily while moving within the activities.
String[] name
Double[] amount
Double[] rate
Integer[] term
Each String has room for 10 different pieces of data. The data will be sorted, and needs to be saved while I go to another activity which new data is input and carried to my first activity to be placed in these strings, and finally - saved.
Please provide suggestions or documentation links so I can learn how to do this.