prefser
prefser copied to clipboard
Wrapper for Android SharedPreferences with object serialization and RxJava Observables
Bumps gradle from 3.6.3 to 4.0.1. [](https://dependabot.com/compatibility-score/?dependency-name=com.android.tools.build:gradle&package-manager=gradle&previous-version=3.6.3&new-version=4.0.1) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
I have getting error while fetching boolean value in kotlin ` val isAutoStart : Boolean? = PrefInstance.get(context)?.get(Constants.PREF_SERVICE_IS_ALERT,Boolean::class.java ,false) ` Error Log java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String at android.app.SharedPreferencesImpl.getString(SharedPreferencesImpl.java:225)...
Add methods for saving data returning RxJava Completable type. This functionality was requested in #127. It could be done by implementing `put(...)` and `observe(...)` methods under the hood. `Observable` type...
It should be done after resolving #100. References: - http://www.baeldung.com/jackson-object-mapper-tutorial
Passing null as default value in `get` gives a `NullPointerException` when the key is already signed for primitive types. From my study of the code I see that it was...
While I know the types of data Prefser can store, I've tried to store a `LinearLayout` data type. The app hangs and does an infinite loop inside `Gson.java` on line...