I wanted to save an ArrayList to SharedPreferences so I need to turn it into a string and back, this is what I am doing:
// Save to shared preferences Shared
Try this
ArrayList array = Arrays.asList(arrayString.split(","))
This will work if comma is used as separator and none of the items have it.