toggle menu
hooks2
common
switch theme
search in API
hooks2
/
xyz.junerver.compose.hooks
/
MutableRef
Mutable
Ref
@
Stable
class
MutableRef
<
T
>
(
initialValue
:
T
)
:
Ref
<
T
>
Mutable ref
Parameters
T
initial
Value
Members
Members & Extensions
Constructors
Mutable
Ref
Link copied to clipboard
constructor
(
initialValue
:
T
)
Properties
current
Link copied to clipboard
open
override
var
current
:
T
Functions
observe
Link copied to clipboard
open
override
fun
observe
(
observer
:
Observer
<
T
>
)
remove
Observer
Link copied to clipboard
open
override
fun
removeObserver
(
observer
:
Observer
<
T
>
)
set
Value
Link copied to clipboard
operator
fun
<
T
>
MutableRef
<
T
>
.
setValue
(
thisObj
:
Any
?
,
property
:
KProperty
<
*
>
,
value
:
T
)