Quicktoast

General

Category
Free
Tag
Toasts
License
MIT License
Registered
Jan 11, 2019
Favorites
1
Link
https://github.com/meet30997/Quicktoast
See also
Smarty Toast
KSnack
Toaster
Magic Toast
EasyToast

Additional

Language
Java
Version
1.0.0 (Jan 10, 2019)
Created
Jan 10, 2019
Updated
Jan 10, 2019 (Retired)
Owner
MEET PRAJAPATI (meet30997)
Contributor
MEET PRAJAPATI (meet30997)
1
Activity
Badge
Generate
Download
Source code

Advertisement

Quicktoast

Quickest way to show a toast in android!

Installation

Add it in your root build.gradle :

allprojects {
  repositories {
   ...
   maven { url 'https://jitpack.io' }
  }
 }

Add the dependency:

dependencies {
         implementation 'com.github.meet30997:Quicktoast:1.0.0'
 }

Usage

Create a object of library class

private Quicktoast toast = new Quicktoast(this);

There are three types of toast that you can use.

Simple Toast

  1. toast.ltoast("Simple"); // For Simple Long Toast

  2. toast.stoast("Simple"); // For Simple Short Toast

Warning Toast

  1. toast.lwarn("Warning"); // For Warning Long Toast

  2. toast.swarn("Warning"); // For Warning Short Toast

Info Toast

  1. toast.linfo("Info"); // For Info Long Toast

  2. toast.sinfo("info"); // For Info Short Toast

How to contribute?

  1. Fork the project. ❤️
  2. Make required changes and commit.
  3. Generate pull request. Mention all the required description regarding changes you made. Happy coding.:-)

License

This Project is licensed under MIT license. View license.