Show custom toasts.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.sunilk9211</groupId>
<artifactId>ToastIt</artifactId>
<version>1.0.0-alpha06</version>
</dependency>
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.sunilk9211:ToastIt:1.0.0-alpha06'
}
ToastIt.normal(
supportFragmentManager,
"Title message",
"This is your toast message"
)
ToastIt.normal(
supportFragmentManager,
"This is your toast message"
)