Skip to content

KingSujeet/ToasterLibrary

Repository files navigation

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.

About

Toaster library to show Toasts with very less code

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages