My app has a list of String values (of some 5-20 characters each), that I have to store persistently. The SharedPreferences seem to me the most appropriate, as it\'s a short
If you know the order of the list entries and/or it doesn't matter you can "glue" them all into a single String with a separator of your choice and then store it with SharedPreferences
. After loading it back you would split the String into the entries based on your separator. Something like String listEntries = "enty1;entry2;entry3"
(semicolon as separator in this case). But no idea about performance issues.