What is the best way to save an ArrayList of strings to SharedPreferences in API level 8? The only way i can think of now is to save all of the strings into one string separated by commas and save it that way. But I don’t know if there is a maximum size for strings.
Is there a better way to do this?
I suggest you to save the arraylist as Internal Storage File in Android. For example for a arraylist named
text_lines:Internal storage File IO (Writing) :
Interal storage File IO (Reading) :