PackRuble / cardoteka

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
https://t.me/+AkGV73kZi_Q1YTMy
Apache License 2.0
2 stars 0 forks source link

`Cardoteka.reload` should not be present on every instance. #13

Open PackRuble opened 3 months ago

PackRuble commented 3 months ago

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.

Additionally, pay attention to setPrefix.