The best type-safe wrapper over SharedPreferences. ⭐ Why so? -> strongly typed cards for access to storage -> don't think about type, use get|set -> can work with nullable values -> callback based updates
There are two options - make it a static class of either Cardoteka or a static class of the AccessToSP mixin, since the call to this method will propagate to all Cardoteka descendants.
There are two options - make it a static class of either
Cardoteka
or a static class of theAccessToSP
mixin, since the call to this method will propagate to allCardoteka
descendants.Additionally, pay attention to
setPrefix
.