PreferenceHolder icon indicating copy to clipboard operation
PreferenceHolder copied to clipboard

SharedPreference usage made fun in Kotlin

Results 6 PreferenceHolder issues
Sort by recently updated
recently updated
newest added

// Single level collections are also supported if serializer is set. See: Gson serialization https://github.com/Kotlin/kotlinx.serialization

what is the key string that created automatically for declaring new preference (without specifying it)? var useTestAutoCapture: Boolean by bindToPreferenceField(false) I know I could put it like this and have...

The ["full example"](https://github.com/MarcinMoskala/PreferenceHolder/blob/master/kotlinpreferences-lib/src/androidTest/java/com/marcinmoskala/kotlinpreferences/ExampleConfig.kt) and ["usage"](https://github.com/MarcinMoskala/PreferenceHolder/tree/master/kotlinpreferences-lib/src/androidTest/java/com/marcinmoskala/kotlinpreferences) links in README.md are broken.

My app is reporting this error. I have a lot of values but only in this case the problem occur. Could someone help me? Thsnks. ``` java.lang.Error: at com.marcinmoskala.kotlinpreferences.PreferenceHolder$Companion.getPreferencesOrThrowError$preferenceholder_release (PreferenceHolder.kt:86)...

I love this implementation of a Preference wrapper, but I find myself using Preference change listeners sometimes and would like to know if this is something you've considered adding functionality...

This is a simple implementation of #3. Let me know if you have any suggestions.