Our great sponsors
-
androidx
Development environment for Android Jetpack extension libraries under the androidx namespace. Synchronized with Android Jetpack's primary development branch on AOSP.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
preferences datastore is similar to SharedPreferences. Proto datastore is the one you should be using, and is based on protocol buffers to give you type safety among other advantages. Even in the case of preferences datastore though, it doesn't appear to even mention SharedPreferences. You can see the source for all datastore components here: https://github.com/androidx/androidx/tree/androidx-main/datastore
I ended up doing something similar to store data classes because I wanted something in pure kotlin ( https://github.com/erdo/persista no encryption though).
Related posts
- Is there anywhere on github which has the latest Android Open Source Project (AOSP) files?
- LiveData is superior to StateFlow for UI and ViewModel layer.
- Pi Practice App in Compose
- Searching for a library that can render PDF from firebase storage link.
- Building Reddit Recap with Jetpack Compose on Android