simple library to show your custom toasts 😃
CustomToaster.makeText(this //context
, "Hi" //message
, CustomToaster.LENGTH_LONG //duration
, R.drawable.ic_android //icon
, R.drawable.background //background drawable
, CustomToaster.BLACK //text color
).show();
In your project’s build.gradle add the following line
maven { url 'https://jitpack.io' }
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
and in your app’s build.gradle add the dependency
implementation 'com.github.Special-N9NE:CustomToaster:0.1'
Enjoy ❤️