-
A simple toast, avoid the overlap of the existence of toast for multiple clicks.
-
Author:Luo Guowen
-
Email:[email protected]
-
Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories:
allprojects { repositories { ... maven { url 'https://jitpack.io' } } }
Step 2. Add the dependency:
dependencies { compile 'com.github.lgw666:SimpleToast:v1.0' }
-
Simple show :
SimpleToast.show(Context,Msg);
-
The context to use.
Context context;
The message to show.
String msg;
-
static void cancelCurrentToast(); Cancel the current toast.
-
Notifications
You must be signed in to change notification settings - Fork 0
lgw666/SimpleToast
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|