Skip to content

This Libary helps you show common Dialog's & Snackbar's According to your needs. Ready to use in Any Project,

Notifications You must be signed in to change notification settings

RedEyesNCode/InformMe

Repository files navigation

Inform Me

This Libary helps you show common Dialog's & Snackbar's According to your needs. Ready to use in Any Project

This Libary is under constant Updates.

Release Notes

  • 1.0 Intial Release of the Project / Libary
  • 1.1 Added the option to make Interactive dialog boxes, with click listener in the parent activity.

Features

  • Make Custom Dialogs of three Types : Success , Error, Warning with the Custom Messages.
  • Make Custom SnackBars of Three Types : Success, Error, Warning with Custom Message of Error And Warning Snackbar showed in the dialog box upon the click of the button
  • More adding soon , Suggestions are welcomed !

Screenshots of the Libary

Dialogs Preview Snackbar Preview

Installation

Add The jitpack repository inside the settings.fradle file of your project.
dependencyResolutionManagement {
            repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
            repositories {
                google()
                mavenCentral()
                jcenter() // Warning: this repository is going to shut down soon
                maven { url "https://jitpack.io" }
            }
}

Add the dependency inside the android project
implementation 'com.github.RedEyesNCode:InformMe:Tag'

Usage

For showing the SuccessDialog redEyesNCode.initiateSuccessDialog(MainActivity.this,"Success !","This is a success dialog",false,false); For showing the ErrorDialog redEyesNCode.intiateErrorDialog(MainActivity.this,"Error !","This is a sample error Message !",true,true); For showing the Warning redEyesNCode.intiateWarningDialog(MainActivity.this,"Warning !","This is sample warning message !",true,true);

The Same Goes for the snackbars see the MainActivity.java code & you will get there ;)

About

This Libary helps you show common Dialog's & Snackbar's According to your needs. Ready to use in Any Project,

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages