Skip to content

Instantly share code, notes, and snippets.

@gpeal
Created July 28, 2021 01:28
Show Gist options
  • Save gpeal/cd81d635a050604695075d78612ef92a to your computer and use it in GitHub Desktop.
Save gpeal/cd81d635a050604695075d78612ef92a to your computer and use it in GitHub Desktop.
val anim = rememberLottieAnimatable()
LaunchedEffect(composition) {
anim.animate(
composition,
iterations = LottieConstants.IterateForever,
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment