Created
April 10, 2024 10:12
-
-
Save AndreVero/dd74ee988d7dec2649bf247453f539ff to your computer and use it in GitHub Desktop.
OnItemPicked callback
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
onItemPicked = { | |
scope.launch { | |
rotationAnimation.animateTo( | |
if (it.isDayTime) 0f else 180f, | |
defaultSpringSpec | |
) | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment