A Kotlin library for reactive and boilerplate-free Shared Preferences in Android. With KPreferences you can use Kotlin's marvelous delegate concept to easily use Android's Shared Preferences. Features:
- Boilerplate-free: Use
SharedPreferences
properties with one line and withoutedit
,apply
or ... boilerplate codes - Reactive: Use observables to listen for
SharedPreferences
changes without any memory leak - Custom types: You are not limited to a set of limited types that can be saved to the
SharedPreferences
.
from The Android Arsenal
No comments:
Post a Comment