با سلام
مرحله 1 : اضافه کردن Dependency
compile 'com.airbnb.android:lottie:2.5.0-rc1'
مرحله 2 : دانلود فایل انیمیشن از سایت زیر یا ساخت انیمیشن در افترافکت و ذخیره خروجی با فرمت json
www.lottiefiles.com
مرحله 3: ساخت LottieAnimationView
درون فایل XML مینویسیم:
<com.airbnb.lottie.LottieAnimationView
android:layout_below="@+id/animation_view2"
android:id="@+id/animation_view3"
android:layout_width="match_parent"
android:layout_height="170dp"
app:lottie_autoPlay="true"
app:lottie_fileName="beating_heart.json"
app:lottie_loop="