version. Check out our snapshot builds instead.
LottieAnimation now takes a progress float instead of driving the animation internally. The driving of animations has been split into a new
LottieAnimatable class and
animateLottieCompositionAsState function. These are analogous to Jetpack's
animate*AsState functions. Properties that pertain to the animation such as speed, repeat count, and the new clip spec are part of
animateLottieComposition whereas properties that are related to rendering such as enabling merge paths and setting an image asset delegate are on the
lottieComposition has also been renamed
There are overloaded version of
LottieAnimation that merge the properties for convenience. Please refer to the docs for
rememberLottieComposition for more information.