-
-
Save eevajonnapanula/fd5cac71921e680c0aea19a2f67800e9 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
var position by remember { mutableStateOf(Pair(0f, 0f)) } | |
... | |
.onGloballyPositioned { | |
position = | |
Pair( | |
it.positionInParent().x, | |
it.positionInParent().x + it.size.width | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment