Created
February 11, 2025 18:05
-
-
Save vitoksmile/371cbcdb1d965dc3d997d385129795dd to your computer and use it in GitHub Desktop.
ComposeHints
This file contains hidden or 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
| @Stable | |
| class HintAnchorState internal constructor( | |
| internal val hint: Hint, | |
| ) { | |
| //...other states here | |
| } | |
| @Composable | |
| fun rememberHintAnchorState(hint: Hint): HintAnchorState { | |
| return remember(hint) { | |
| HintAnchorState(hint) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment