A simple toast, avoid the overlap of the existence of toast for multiple clicks.
Author:Luo Guowen
Email:luoguowen123@qq.com
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.
Latest commit
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
