Datastore

Use when persisting key-value preferences or small typed settings on Android or KMP with Jetpack DataStore — Preferences vs Typed (Proto/JSON) vs Room selection, the IOException and corruption-recovery error traps, serializers with corruption handlers, and the KMP factory with per-platform file paths. Triggers on DataStore, Preferences, PreferenceDataStoreFactory, DataStoreFactory, preferencesDataStore, Serializer, SharedPreferences-to-DataStore migration, or persistent settings work.

rcosteira79 1490ab1 3.8 KB Updated

File contents

rcosteira79/android-skills/tree/main/plugins/android-skills/skills/datastore commit 1490ab1747

Frequently asked questions

npx skillmds@latest add rcosteira79/datastore