Magic Toast

General

Category
Free
Tag
Toasts
License
N/A
Min SDK
8 (Android 2.2–2.2.3 Froyo)
Registered
Jun 23, 2016
Favorites
4
Link
https://github.com/ekimual/magic-toast
See also
CookieBar2
Pretty Toast
MyToast
Load Toast Library
Crouton

Additional

Language
Java
Version
0.0.2 (Jun 22, 2016)
Created
Jun 22, 2016
Updated
Dec 12, 2016 (Retired)
Owner
Mike Lau (ekimual)
Contributor
Mike Lau (ekimual)
1
Activity
Badge
Generate
Download
Source code
APK file

Advertising

Magic Toast

A Simple and Colorful alternative to showing Toasts.

Gradle

 repositories {
     maven { url "https://jitpack.io" }
    }
 compile 'com.github.ekimual:magic-toast:0.0.2'

Sample Usage

 //Different Kinds of Toast
 MagicToast.showSuccess(getApplicationContext(), "HELLO WORLD");
 MagicToast.showError(getApplicationContext(), "HELLO WORLD");
 MagicToast.showInfo(getApplicationContext(), "HELLO WORLD");
 MagicToast.showWarning(getApplicationContext(), "HELLO WORLD");
 MagicToast.showDim(getApplicationContext(), "HELLO WORLD");

 //Shows Toast for 2 seconds
 MagicToast.showSuccess(getApplicationContext(), "HELLO WORLD", 2);