Created
June 13, 2021 05:37
-
-
Save hongbeomi/9e27b6930343e99a86fc2bb8212d55d7 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 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