/CustomToaster

simple library to show your custom toasts :smile:

Primary LanguageJava

CustomToaster

simple library to show your custom toasts 😃

ScreenShots

Screenshot 1 Screenshot 2

Usage

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();

installation

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 ❤️