Quicktoast

Project Url: meet30997/Quicktoast
Introduction: Quickest way to show a toast in android!
More: Author   ReportBugs   
Tags:

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.

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools