Created
October 17, 2021 08:23
-
-
Save takahirom/aff0dc912208dbc37a44c80cc34895c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun Content() { | |
var state by remember { mutableStateOf(true) } | |
LaunchedEffect(Unit) { | |
delay(3000) | |
state = false | |
} | |
if (state) { | |
Node1() // ← This place is about to disappear. | |
} | |
Node2() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment