Can't be done, shared preferences is for storing primitive types only (
String, int, boolean etc.).
It depends on the size of, and how the ArrayList is build but if the data can't be easily recreated and must be stored I would suggest storing it in a sqlite database.