toggle menu
hooks2
common
switch theme
search in API
hooks2
/
xyz.junerver.compose.hooks
/
rememberSelector
remember
Selector
@
Composable
inline
fun
<
T
>
rememberSelector
(
alias
:
String
?
=
null
)
:
State
<
T
>
@
Composable
inline
fun
<
T
,
R
>
rememberSelector
(
alias
:
String
?
=
null
,
crossinline
block
:
T
.
(
)
->
R
)
:
State
<
R
>