Animating android app with Lottie

Photo by JOSHUA COLEMAN on Unsplash

According to Airbnb github page, Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile!

dependencies {
implementation 'com.airbnb.android:lottie:3.4.1'
}
<com.airbnb.lottie.LottieAnimationView
android:id="@+id/lottieAnimationView"
android:layout_width="200dp"
android:layout_height="200dp"
app:lottie_autoPlay="true"
app:lottie_loop="true"
app:lottie_rawRes="@raw/your_order_is_confirmed"
/>

Founder at Inside Android | Youtuber | App Developer