Join Slack
Menu
Home
Archive
Can I somehow make a boolean thats watched and when its true it gets set to false after a few second...
# compose
z
zt
06/20/2022, 3:23 AM
Can I somehow make a boolean thats watched and when its true it gets set to false after a few seconds, with the ability to reset the timer. I'm going for a thing that will autohide the UI after inactivity
c
Chris Fillmore
06/20/2022, 3:59 AM
Use a LaunchedEffect keyed to your boolean
5
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by