Animations in Android (lottie aftereffect library)


hey friends in this blog I will tell you about an aftereffect library for Animation 
I have worked a decent amount of time in making custom loader and animation and to implement to it in this blog I will talk you about a library which helps me a lot on animation and make it simple to do animation in Android, IOS, Web without so much hard work.
                                       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










Post a Comment

0 Comments