An open API service indexing awesome lists of open source software.

https://github.com/amanjeetsingh150/smartytoast

Android library with collection of some smart toasts designs.
https://github.com/amanjeetsingh150/smartytoast

android android-library toast ui-components

Last synced: 11 months ago
JSON representation

Android library with collection of some smart toasts designs.

Awesome Lists containing this project

README

          

# SmartyToast
Android library with collection of some smart toasts designs which will help in situations of following:-


  • Completion of some work(Done!!)

  • Errors

  • Warnings(Done!!)

  • Connection Established(Done!!)

  • Saving completion(Saved!!)

  • Update Status(Updating...)

[![](https://jitpack.io/v/amanjeetsingh150/SmartyToast.svg)](https://jitpack.io/#amanjeetsingh150/SmartyToast) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Smarty%20Toast-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/5853)




DOWNLOAD

Add this to your root build.gradle file

allprojects {

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

Add this to your app module's build.gradle file

dependencies {

compile 'com.github.amanjeetsingh150:SmartyToast:1.0'
}



USAGE:

Java
SmartyToast.makeText(getApplicationContext(),"Your message",SmartyToast.LENGTH_SHORT,SmartyToast.DONE);

Last parameter here is the type of toast you want to show.

Available Parameters are:


  • DONE

  • WARNING

  • ERROR

  • SAVED

  • CONNECTED

  • UPDATE




License
Copyright 2017 Amanjeet Singh

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.