Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 641 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 641 Bytes

ToasterLibrary

Step 1. Add the Toaster Library to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.KingSujeet:ToasterLibrary:1.0'
}
All done here

Examples:

ToasterMessage.s(getApplicationContext(), "This is Short Toast");

-> This shows short time Toast meassage.

ToasterMessage.l(getApplication(),"This is Long Toast");

-> This shows Long time Toast message.