ToastOX

General

Category
Free
Tag
Toasts
License
N/A
Min SDK
14 (Android 4.0–4.0.2 Ice Cream Sandwich)
Registered
Dec 23, 2016
Favorites
7
Link
https://github.com/10uroi/ToastOX
See also
Android Custom-Toast
MyToast
FBToast
Toasty
AchievementView

Additional

Language
Java
Version
1.0.1 (Dec 21, 2016)
Created
Dec 21, 2016
Updated
May 10, 2017 (Retired)
Owner
Onur Ciner (10uroi)
Contributor
Onur Ciner (10uroi)
1
Activity
Badge
Generate
Download
Source code

Commercial

ToastOX

Android Library

A much nicer toast structure and a customized sub-dialog.

How to include

Add the repository to your project build.gradle:

repositories {
 maven {
  url "https://jitpack.io"
 }
}

And add the library to your module build.gradle:

dependencies {
 compile 'com.github.10uroi:ToastOX:1.0.1'
}

Usage

ToastOX

ToastOX.ok(getApplicationContext(), "Hello World! - OK");
ToastOX.error(getApplicationContext(), "Hello World! - Error");
ToastOX.info(getApplicationContext(), "Hello World! - Info");
ToastOX.warning(getApplicationContext(), "Hello World! - Warning");
ToastOX.muted(getApplicationContext(), "Hello World! - Muted");
ToastOX.Tnull(getApplicationContext(), "Hello World! - Null");
ToastOX.ok(getApplicationContext(), "Hello World! - OK", Toast.LENGTH_SHORT, 20, 200, 200);
...