Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@saqib-github-commits
Created May 1, 2023 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saqib-github-commits/fbb617ccdde51c99ee0d82a05dc8e4ba to your computer and use it in GitHub Desktop.
Save saqib-github-commits/fbb617ccdde51c99ee0d82a05dc8e4ba to your computer and use it in GitHub Desktop.
var showLoading by remember {
mutableStateOf(true)
}
if (showLoading) {
LoadingScreen { showLoading = false }
} else {
val snackbarHostState = SnackbarHostState()
LaunchedEffectTestScreen(snackbarHostState, LaunchedEffectTestViewModel())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment