Skip to content

Instantly share code, notes, and snippets.

@hongbeomi
Created June 13, 2021 05:37
Embed
What would you like to do?
@Composable
fun CharacterDialog(
...,
onDismissRequest: () -> Unit
) {
Dialog(onDismissRequest = onDismissRequest) {
//
}
}
// using
CharacterDialog(...) {
viewModel.hideCharacterDialogEvent()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment