Skip to content

Commit

Permalink
Use url instead of json file
Browse files Browse the repository at this point in the history
  • Loading branch information
yagmurerdogan committed Oct 22, 2021
1 parent 63137d5 commit 32c004f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
17 changes: 17 additions & 0 deletions LottieSample/.idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions LottieSample/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yagmurerdogan.lottiesample">

<uses-permission android:name="android.permission.INTERNET"/>

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
Expand Down
4 changes: 2 additions & 2 deletions LottieSample/app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:lottie_autoPlay="true"
app:lottie_fileName="halloween.json"
app:lottie_loop="true" />
app:lottie_loop="true"
app:lottie_url="https://assets5.lottiefiles.com/packages/lf20_xlkigwme.json" />

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 32c004f

Please sign in to comment.