Minimal toast maker
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'
}
Toaster.makeToast(getApplicationContext(), "Hello World!!", Toaster.LENGTH_SHORT, Toaster.SUCCESS);
Last argument is the type of toast you want to show.