first of all click on the link -ClickMe
Above link is for Lottie official Github page you can read more about it in the above link.
The process to implement it-
1. Migrate your project to AndroidX if you are working with an old project or old version of Android Studio.
2. Add below lines o your app-level Gradle file.
3. After that right-click on res and choose show in explorer option and create the new folder name
assets
5. Now go on this link -ClickMe
6.choose what animation you want to show and download the JSON file of animation.
7.keep downloaded JSON file in the asset folder and then make a layout like below
8. Now if you make auto-play true animation will repeat.
if you have any problem in this you can download full Source Code from below link.
Source Code-ClickMe
0 Comments