I'm creating an app that has a sort of Master-Detail ListView of custom objects. My Adapter is an array of custom objects:
ArrayAdapter<Record> adapter;
which is being added to a ListView dynamically. I need to preserve the list, so that when the user opens the app again the list is how it was when they closed it. I looked into using SharedPreferences since that is what I'm using for the settings of my app but I can't figure out how to save a list of my custom objects with it. After reading documentation it seems like SharedPreferences is just for simple key-value pairs. Does anyone know how I can save this list? Any help would be greatly appreciated!