micro_utils.dokka
0.16.12
android
micro_utils.dokka
/
dev.inmo.micro_utils.repos.keyvalue
Package-level
declarations
Types
Functions
Types
Key
Value
SPRepo
Link copied to clipboard
android
typealias
KeyValueSPRepo
<
T
>
=
KeyValueStore
<
T
>
Key
Value
Store
Link copied to clipboard
android
class
KeyValueStore
<
T
:
Any
>
:
SharedPreferences.OnSharedPreferenceChangeListener
,
KeyValueRepo
<
String
,
T
>
Functions
key
Value
Store
Link copied to clipboard
android
fun
<
T
:
Any
>
Context
.
keyValueStore
(
name
:
String
=
"default"
,
cacheValues
:
Boolean
=
false
)
:
KeyValueRepo
<
String
,
T
>
Shared
Preferences
Key
Value
Repo
Link copied to clipboard
android
inline
fun
<
T
:
Any
>
SharedPreferencesKeyValueRepo
(
context
:
Context
,
name
:
String
=
"default"
,
cacheValues
:
Boolean
=
false
)
:
KeyValueRepo
<
String
,
T
>