I have been trying to figure out the best method of saving a string array after an app closes and retrieving the same string information when it is opened again. The context is that I've figured out how to parse data from a website and store it in the string array, however I want to be able to save the string array in the case that the user does not have internet access the string array can be retrieved.
This is being done in android studios in java - just making that clear
I have been looking into sharedpreferenences methods but haven't a working solution. If anyone can help me I would be greatly appreciated!
Lets say the string array is:
String[] webValues = new String[(this value can be very large)];
I am looking to store the entire string array and retrieve the entire string array and then to be able to call the array by specific indices within the activity.