Created
March 16, 2021 19:00
-
-
Save pauloaapereira/af23b3d12d207913c82127fe41d8c9cc to your computer and use it in GitHub Desktop.
Jetpack Compose - Pendulum Effect - 1
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 Pendulum( | |
modifier: Modifier = Modifier, | |
... | |
) { | |
val infiniteTransition = rememberInfiniteTransition() | |
BoxWithConstraints( | |
modifier = modifier | |
) { | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment