Serialise and deserialise any Java object to Shared Preferences in Android Posted by brad-curran on Monday June 10, 2013 @09:07PM from the github.com dept. https://github.com/bradley-curran/DroidPrefs ( 1 comment | on HN )
Saving objects: Animal animal = new Animal("Lassie", "Dog"); DroidPrefs.instance(context).put("key", animal).apply();
Loading objects: Animal animal = DroidPrefs.instance(context).get("key", Animal.class);