Helps to create a bunch of alert dialogs with Lottie

Helps you to create bunch of alert dialogs with Lottie

Alert Dialogs with Lottie

This repository provides a alert dialogs with Lottie customization.

Lottie-Alert-Dialog

Requirements

You must add lottie assets to your main folder first, there is a five types of alert dialog and five lottie files in there.
Don’t change the names of files just override it. For example you can use assets in this repository.

You must put your assets to under app -> src -> main -> assets folder

Add line below to your top level build.gradle

allprojects {
repositories {
/// ….
maven { url “https://jitpack.io” }
}
}

Add lines below to your app level build.gradle

And Sync the gradle

Usage

You may follow the source code to see how it works.

Loading View:

Question View:

Additional Features

You can use same instance without interrupting view. If you don’t set a variable to button texts, they’ll be GONE.

GitHub

mayuce/LottieAlertDialog

3811

This repository provides a alert dialog view with lottie customization. — Read MoreLatest commit to the master branch on 3-9-2019Download as zip

(Visited 1,284 times, 1 visits today)