Android Custom Toast Android Studio Example

1  Toasty.warning(MainActivity.this, "Please click BACK again to exit", Toast.LENGTH_SHORT, true).show();

 

2 build gradle projects

allprojects {
   
repositories {
       
google()
        jcenter()
        maven { url
'https://jitpack.io' }
    }
}
 

3 build gradle module

implementation 'com.github.GrenderG:Toasty:1.5.0'
 

 

Post a Comment

0 Comments