Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

ashutosh2706/toaster

Repository files navigation

Toaster

Minimal toast maker

Preview

Gradle Integration

Step 1. Add the JitPack repository to your build file

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

Step 2. Add the dependency

dependencies {
	implementation 'com.github.ashutosh2706:toaster:1.0.2'
}

Usage

Java

Toaster.makeToast(getApplicationContext(), "Hello World!!", Toaster.LENGTH_SHORT, Toaster.SUCCESS);

Last argument is the type of toast you want to show.