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
SharedPreferencesproperties with one line and withoutedit,applyor ... boilerplate codes - Reactive: Use observables to listen for
SharedPreferenceschanges 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