Karamunting.Android.Meet30997.QuickToast

Quickest way to show a toast in Android


Keywords
ui, toast, mono, android, xamarin-android, android-library, notification, mono.droid, droid, xamarin.android, xamarin, ux
License
MIT
Install
Install-Package Karamunting.Android.Meet30997.QuickToast -Version 1.0.0

Documentation

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.