Rachel
Toggle table of contents
3.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.startup.config
/
love.yinlin.compose.config
/
ValueState
Value
State
@
Stable
abstract
class
ValueState
<
T
>
(
version
:
String
?
=
null
,
stateFactory
:
(
T
)
->
MutableState
<
T
>
=
{ mutableStateOf(it) }
)
:
ConfigState
,
ReadWriteProperty
<
Any
?
,
T
>
Members
Constructors
Value
State
Link copied to clipboard
constructor
(
version
:
String
?
=
null
,
stateFactory
:
(
T
)
->
MutableState
<
T
>
=
{ mutableStateOf(it) }
)
Functions
get
Value
Link copied to clipboard
operator override
fun
getValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
)
:
T
kv
Get
Link copied to clipboard
abstract
fun
kvGet
(
key
:
String
)
:
T
kv
Set
Link copied to clipboard
abstract
fun
kvSet
(
key
:
String
,
value
:
T
)
set
Value
Link copied to clipboard
operator override
fun
setValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
,
value
:
T
)