3 ms·
It's pretty simple to use. Saving objects: Animal animal = new Animal("Lassie", "Dog"); DroidPrefs.instance(context).put("key", animal).apply(); Loading objec
by brad-curran 13y 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);