Package dev. inmo. micro_utils. repos. keyvalue
Types
Link copied to clipboard
class KeyValueStore<T : Any> : SharedPreferences.OnSharedPreferenceChangeListener, KeyValueRepo<String, T>
Content copied to clipboard
Functions
Link copied to clipboard
fun <T : Any> Context.keyValueStore(name: String = "default", cacheValues: Boolean = false): KeyValueRepo<String, T>
Content copied to clipboard
Link copied to clipboard
inline fun <T : Any> SharedPreferencesKeyValueRepo( context: Context, name: String = "default", cacheValues: Boolean = false): KeyValueRepo<String, T>
Content copied to clipboard