Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ In your ```activity.java``` follow the steps given below to add the custom Dialo
customLottieDialog = new CustomLottieDialog(context, "LO01");
customLottieDialog.show();
```
Kotlin Code
```
val customLottieDialog: CustomLottieDialog
customLottieDialog = CustomLottieDialog(this, "LO01")
customLottieDialog.show()
```

- To add your own custom <a href="https://lottiefiles.com/">Lottie</a> animation: First download Lottie JSON of your preferred animation and add the downloaded file to ``raw`` inside ``res``.

![LottiePreview](https://user-images.githubusercontent.com/72121163/135556267-52d16179-3c38-490c-9857-7d5bbbd61c3d.PNG)
Expand Down