toggle menu
hooks2
android
switch theme
search in API
hooks2
/
xyz.junerver.compose.hooks.useidle
/
useIdle
use
Idle
android
@
Composable
fun
useIdle
(
timeout
:
Duration
=
5.seconds
)
:
Pair
<
State
<
Boolean
>
,
State
<
Instant
>
>