Last active
June 14, 2023 02:15
-
-
Save mattrob33/3b8fb935222e6a94aa6ca890845c2842 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 Screen() { | |
var pressedLocation by rememberState { null } | |
MaxSizeBox( | |
modifier = Modifier.onPress { pressedLocation = it } | |
) { | |
.. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment