toggle menu
foSho
androidJvm
switch theme
search in API
navigator-android
/
dev.funkymuse.fosho.navigator.android
/
OnSingleCallbackArgument
On
Single
Callback
Argument
@
Composable
fun
<
T
>
CallbackArguments
.
OnSingleCallbackArgument
(
key
:
String
,
initialValue
:
T
?
=
null
,
consumeWhen
:
(
T
?
)
->
Boolean
=
{ it != null }
,
onValue
:
(
T
?
)
->
Unit
)
@
Composable
fun
<
T
>
CallbackArguments
.
OnSingleCallbackArgument
(
key
:
String
,
onValue
:
(
T
)
->
Unit
)