Created
July 27, 2021 06:06
-
-
Save gpeal/fde72c2654bac565c176294abb2159c8 to your computer and use it in GitHub Desktop.
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
val composition by rememberLottieComposition(LottieCompositionSpec.RawRes(R.raw.heart)) | |
val progress by animateLottieCompositionAsState( | |
composition, | |
iterations = LottieConstants.IterateForever, | |
) | |
LottieAnimation( | |
composition, | |
progress, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment