Render After Effects animations natively on Android and iOS, Web, and React Native
Full Changelog: https://github.com/airbnb/lottie-android/compare/v6.3.0...v6.4.0
close
param to LottieCompositionFactory.fromJsonReader (#2342)asyncUpdates
feature which moves the entire update phase of an animation off of the main thread. For more information, refer to this blog post. (#2276)LottieCompositionFactory
to not close input streams (#2286 and #2319)Compose Breaking Change
LottieAnimation now takes progress as a () -> Float
rather than a Float
. This allows Lottie to redraw without triggering a recomposition every time progress updates. For more information, refer to the Compose phase docs. The existing API will exist as deprecated for one more release but will then be removed. For the vast majority of use cases:
LottieAnimation(composition, progress)
will become:
LottieAnimation(composition, { progress })
or
LottieAnimation(
composition = composition,
progress = { progress }
)