Kotpref
Kotpref copied to clipboard
Kotpref - Android SharedPreferences delegation library for Kotlin
Your library is so cool. Really easy to use Also it would be greater if you add feature to save **data class** in your KotPrefModel You can use GSON to...
LiveData-support doesn't work for situations that targetSdk or target device are below than API 30. I checked livedata-support source code. It uses [SharedPreferences.OnSharedPreferenceChangeListener](https://developer.android.com/reference/android/content/SharedPreferences.OnSharedPreferenceChangeListener#onSharedPreferenceChanged(android.content.SharedPreferences,%20java.lang.String)) that has this description: > Note: This...
I am using this repo for 2 years, but now my project want to migrate to DataStore. Is there a solution to use kotpref by DataStore?
Currently, updating API docs manually. I want to automate it in publish CircleCI jobs or GitHub workflow with tag push. Update docs command is below ``` ./gradlew dokkaHtmlMultiModule ```
As of now, there is no support for versioning of KotprefModel. This is useful in some cases when someone wants to remove a key on version update, or clear the...
Hello again :) What about supporting pref values, which could be presisted into String by custom converter? ``` object AppState { // client code val user by customPref(default = null,...
Added Moshi support, for people who wants completely move out from Gson