Answers for "lottie implementation android"

6

lottie dependency android

def lottieVersion = "3.4.0" 
implementation "com.airbnb.android:lottie:$lottieVersion"
Posted by: Guest on July-24-2020
2

lottie files in android studio

<com.airbnb.lottie.LottieAnimationView
    android:id="@+id/animationView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:lottie_rawRes="@raw/animation"
    app:lottie_autoPlay="true"
    app:lottie_loop="true"/>
Posted by: Guest on July-28-2021
2

add lottie to android studio

def lottieVersion = "3.4.0" 
implementation "com.airbnb.android:lottie:$lottieVersion"
Posted by: Guest on May-30-2021
1

how to use lottie in android studio

<com.airbnb.lottie.LottieAnimationView
     android:id="@+id/animationView"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     app:lottie_url="REPLACE_JSON_URL"
     app:lottie_autoPlay="true"
     app:lottie_loop="true"/>
Posted by: Guest on January-23-2021

Browse Popular Code Answers by Language