Hacker News new | ask | show | jobs
by brad-curran 4763 days ago
It's pretty simple to use.

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);