A simple library to show custom dialog in android

Step 1. Add the JitPack repository to your build file

allprojects {
		repositories {
			maven { url '' }

Step 2. Add the dependency

dependencies {
	        implementation 'com.github.jeanclaudesoft:SmartDialog:1.0'

The library use lottie animation so add

 implementation "$lottieVersion"

To find lottie version visit

To show Success Dialog

SmartDialogBox.showSuccessDialog(Context, "message", "closing button text");

Success Dialog

To show Error Dialog

SmartDialogBox.showErrorDialog(Context, "message", "closing button text");

Error Dialog

To show Info Dialog

SmartDialogBox.showInfoDialog(Context, "message", "closing button text");

Info Dialog

To show Empty Result Dialog

SmartDialogBox.showSearchDialog(Context, "message", "closing button text");

No Result Dialog

To show No Internet Dialog

SmartDialogBox.showInternetDialog(Context, "message", "closing button text");

No Internet Dialog