Android Library for customizing toast messages
In your root build.gradle
add the following
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
...
implementation 'com.github.tlarsin:Toaster:0.5'
}
Toaster(context: Context).show(message: String)
This will show the default style Toast.