An android library for easy implementation of Toasts in Android with easy customisation.

Overview

ToastTypeDecore ©️

  • A library for easy implementation of Toasts in Android with easy customisation.
Latest Version : v2.1

Screenshots

Success Toast1 Success Toast2
Success Toast Demo Success Toast Demo

Implementation

  • Step 1. Add the JitPack repository to your build file

    ℹ️ Add it in your root build.gradle ( project level ) at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}
  • Step 2. Add the dependency
	dependencies {
	        implementation 'com.github.AdityaBavadekar:ToastTypeDecore:Tag'
	}

Tag for version :

Version 1.4

Usage ✒️ :

@Params: and Syntax
//Syntax
ToastTypeDecore().makeSuccessToast(
        context: Context,
        contentText: String,
        successImageDrawableResId: Int?,
        cornerRadius: Float?,
        backgroundColor: Int?,
        longLengthenedToast : Boolean
    ) 
Android Activity Usage ⬇️
//Activity usage in kotlin
...
class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        ToastTypeDecore().makeSuccessToast(
        this,//Context
        "Hello, World! from ToastTypeDecore",//String main message
        null,//Int? drawable for success, `null` for Tick  default
        null,//Float? toast corner radius, `null` for default
        Color.WHITE,//Int? background color `null` for default
        false//Boolean, `false`:short time toast, `true`:long time toast
      ) 



    }
    
}

License


Copyright 2021 Aditya Bavadekar.

Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
additional information regarding copyright ownership. The ASF licenses this
file to you 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.

You might also like...
A really simple library that help you to display a custom toast with many colors (for : success, warning, danger, info, dark, light, primary...etc ), or with rounded corners, or event with image.

CoolToast A really simple library that help you to display a custom toast with many colors (for : success, warning, danger, info, dark, light, primary

Custom Toast Library by Google Developer Student Club University of Brawijaya
Custom Toast Library by Google Developer Student Club University of Brawijaya

GDSCToast Custom Toast Library by Google Developer Student Club University of Brawijaya Prerequisites For old version of gradle (before arctic fox upd

MDToast - MaterialDesign Toast library written with Kotlin with lots of extensions to interact easily in contexts
MDToast - MaterialDesign Toast library written with Kotlin with lots of extensions to interact easily in contexts

MDToast - MaterialDesign Toast A lightweight Toast library written with Kotlin i

Context sensitive notifications for Android
Context sensitive notifications for Android

Crouton Context sensitive notifications for Android DEPRECATION NOTICE This library has passed it's prime and is now considered deprecated. With the A

In-layout notifications. Based on Toast notifications and article by Cyril Mottier (http://android.cyrilmottier.com/?p=773).
In-layout notifications. Based on Toast notifications and article by Cyril Mottier (http://android.cyrilmottier.com/?p=773).

Android AppMsg (Crouton) Library Implementation of in-layout notifications. Based on Toast notifications and article The making of Prixing #4: in-layo

An Android Toast replacement, similar to the one seen in the GMail app.

MessageBar An Android Toast replacement, similar to the one seen in the GMail app. Multiple messages can be posted in succession, and each message wil

Android Custom Toast
Android Custom Toast

Super Toast Library Written Purely in Kotlin ❤️ Usual Toast but with super powers!!! 💪 A Fully Customised and Customisable Toast. ]( https://android-

Android Toast For RTL Applications
Android Toast For RTL Applications

RTL-Toast Android library to show Toasts in a pretty RTL way Install Add it in your root build.gradle allprojects { repositories { ... ma

CuteToast is an Material Design Custom Toast for Android | Custom Material Design Toast
CuteToast is an Material Design Custom Toast for Android | Custom Material Design Toast

CuteToast is an Android Custom Toast library that could be used instead of Default Toast. It does everything as Toast but with some extra spice.

Releases(v2.1)
  • v2.1(Sep 30, 2021)

  • v2.0.0(Sep 30, 2021)

    TypeTostDecore Library Version : 2.0.0

    https://github.com/AdityaBavadekar/ToastTypeDecore/releases/tag/v2.0.0
    • Type of toast supported is : 1. Success Toast with customisation

    HOW TO USE : Implementation

    • [x] Step 1. Add the JitPack repository to your build file (Project Level) (Add it in your root build.gradle at the end of repositories):
    	allprojects {
    	    repositories {
    		google()
    		jcenter()
    		maven { url 'https://jitpack.io' } //Add this line
    
    	    }
    	}
    
    • [x] Step 2. Add the dependency
    	  dependencies {
    	          implementation 'com.github.AdityaBavadekar:TypeTostDecore:2.0.0'
    	  }
    

    Features

    • [x] Custom icon
    • [x] Custom Text
    • [x] Custom Length
    • [x] Custom background color supported
    • Minor Bug Fixes

    Release Information

    Version  : '2.0.0'
    Version Code  : 2
    
    minSdkVersion : 19
    targetSdkVersion  :  30
    
    Author : "Aditya Bavadekar"
    On :  "September 30 2021"
    
    Source code(tar.gz)
    Source code(zip)
  • v2.0-alpha(Sep 30, 2021)

    TypeTostDecore Library Version : 2.0-alpha

    https://github.com/AdityaBavadekar/ToastTypeDecore/releases/tag/v2.0-alpha
    • Type of toast supported is : 1. Success Toast with customisation

    HOW TO USE : Implementation

    • [x] Step 1. Add the JitPack repository to your build file (Project Level) (Add it in your root build.gradle at the end of repositories):
    	allprojects {
    	    repositories {
    		google()
    		jcenter()
    		maven { url 'https://jitpack.io' } //Add this line
    
    	    }
    	}
    
    • [x] Step 2. Add the dependency
    	  dependencies {
    	          implementation 'com.github.AdityaBavadekar:TypeTostDecore:2.0-alpha'
    	  }
    

    Features

    • [x] Custom icon
    • [x] Custom Text
    • [x] Custom Length
    • [x] Custom background color supported
    • Minor Bug Fixes

    Release Information

    Version  : '2.0-alpha'
    Version Code  : 2
    
    minSdkVersion : 19
    targetSdkVersion  :  30
    
    Author : "Aditya Bavadekar"
    On :  "September 30 2021"
    
    Source code(tar.gz)
    Source code(zip)
  • v1.4(Sep 29, 2021)

    TypeTostDecore Library Version : 1.4

    https://github.com/AdityaBavadekar/ToastTypeDecore/releases/tag/v1.4
    • Type of toast supported is : 1. Success Toast with customisation

    HOW TO USE : Implementation

    • [x] Step 1. Add the JitPack repository to your build file (Project Level) (Add it in your root build.gradle at the end of repositories):
    	allprojects {
    	    repositories {
    		google()
    		jcenter()
    		maven { url 'https://jitpack.io' } //Add this line
    
    	    }
    	}
    
    • [x] Step 2. Add the dependency
    	  dependencies {
    	          implementation 'com.github.AdityaBavadekar:TypeTostDecore:1.4'
    	  }
    

    Features

    • [x] Custom icon
    • [x] Custom Text
    • [x] Custom Length
    • [x] Custom background color supported
    • Minor Bug Fixes

    Release Information

    Version 1.4
    Version Code 1
    
    minSdkVersion : 19
    targetSdkVersion  :  30
    
    Author : "Aditya Bavadekar"
    On :  "September 29 2021"
    
    Source code(tar.gz)
    Source code(zip)
  • v1.3(Sep 29, 2021)

    TypeTostDecore Library Version : 1.3

    https://github.com/AdityaBavadekar/ToastTypeDecore/releases/tag/v1.3
    • Type of toast supported is : 1. Success Toast with customisation

    HOW TO USE : Implementation

    • [x] Step 1. Add the JitPack repository to your build file (Project Level) (Add it in your root build.gradle at the end of repositories):
    	allprojects {
    	    repositories {
    		google()
    		jcenter()
    		maven { url 'https://jitpack.io' } //Add this line
    
    	    }
    	}
    
    • [x] Step 2. Add the dependency
    	  dependencies {
    	          implementation 'com.github.AdityaBavadekar:TypeTostDecore:1.3'
    	  }
    

    Features

    • [x] Custom icon
    • [x] Custom Text
    • [x] Custom Length
    • [x] Custom background color supported

    Release Information

    Version 1.3
    Version Code 1
    
    minSdkVersion : 19
    targetSdkVersion  :  30
    
    Author : "Aditya Bavadekar"
    On :  "September 29 2021"
    
    Source code(tar.gz)
    Source code(zip)
  • v.1.5(Sep 29, 2021)

    TypeTostDecore Library Version : 1.5

    https://github.com/AdityaBavadekar/ToastTypeDecore/releases/tag/v1.5
    • Type of toast supported is : 1. Success Toast with customisation

    HOW TO USE : Implementation

    • [x] Step 1. Add the JitPack repository to your build file (Project Level) (Add it in your root build.gradle at the end of repositories):
    	allprojects {
    	    repositories {
    		google()
    		jcenter()
    		maven { url 'https://jitpack.io' } //Add this line
    
    	    }
    	}
    
    • [x] Step 2. Add the dependency
    	  dependencies {
    	          implementation 'com.github.AdityaBavadekar:TypeTostDecore:1.5'
    	  }
    

    Features

    • [x] Custom icon
    • [x] Custom Text
    • [x] Custom Length
    • [x] Custom background color supported
    • Minor Bug Fixes

    Release Information

    Version 1.5
    Version Code 1
    
    minSdkVersion : 19
    targetSdkVersion  :  30
    
    Author : "Aditya Bavadekar"
    On :  "September 29 2021"
    
    Source code(tar.gz)
    Source code(zip)
  • 1.1(Sep 28, 2021)

    :1st_place_medal:First Version of TypeTostDecore Library.

    Version : 1.1

    • Type of toast supported is : Success Toast with customisation

    • [x] Custom icon

    • [x] Custom Text

    • [x] Custom background color supported

    Version 1.0
    Version Code 1
    
    minSdkVersion 19
    targetSdkVersion 30
    
    - Author : Aditya Bavadekar
    On September 28 2021
    
    Source code(tar.gz)
    Source code(zip)
  • 1.0(Sep 28, 2021)

    :1st_place_medal:First Version of TypeTostDecore Library.

    • Type of toast supported is : Success Toast with customisation

    • [x] Custom icon

    • [x] Custom Text

    • [x] Custom background color supported

    Version 1.0
    Version Code 1
    
    minSdkVersion 19
    targetSdkVersion 30
    
    - Author : Aditya Bavadekar
    On September 28 2021
    
    Source code(tar.gz)
    Source code(zip)
Owner
Aditya Bavadekar
Aditya Bavadekar
Custom toasts with color and icon for Android.

Dynamic Toasts A simple library to display themed toasts with icon and text on Android 2.3 (API 9) and above devices. Since v0.4.0, it uses 26.x.x sup

Pranav Pandey 156 Dec 20, 2022
Pretty material design toasts with feedback animations

Load Toast Library The default toasts are ugly and don't really provide much more than a short message. This small library provides a better toast whi

null 1.5k Dec 22, 2022
An easy, flexible way to have the toast message displayed.

IToaster Library An easy, flexible way to have the toast message displayed. Download Gradle Add below codes to your root build.gradle file (not your m

Evans Kiptarus Kibet 1 Mar 19, 2022
Android : IamToast Another Toast library for Android

Android : IamToast Another Toast library for Android Warning. toast custom view is deprecated since android 11(R) Setup allprojects { repositories

null 2 Jun 12, 2022
A library that extends the Android toast framework.

SuperToasts Library The SuperToasts library enhances and builds upon the Android Toast class. This library includes support for context sensitive Supe

John Persano 2.7k Dec 29, 2022
🍞 The missing toast library for Android.

Literally Toast ?? A toast library for Android. Usage: ?? Use the LitToast to get lit and show your users a proper toast. LitToast.create(context, "My

David Voiss 229 Nov 25, 2022
Toastie is a customizable Android toast library.

Toastie Getting Started Gradle Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories: Note

Burak Fidan 36 Apr 3, 2021
Attractive, stylish and customizable toast library for Android.

FabToast min SDK 16 (Jelly Bean 4.1) written in Java To download the demo app for this library from Google Playstore so you can see it in action, clic

Dean Spencer 11 Feb 14, 2022
A tooltip/showcase library for Android re-written in Kotlin.

UglyTooltip Based on another Showcase library. Being kotlinized, customized and refactored.

null 26 Dec 9, 2022
Customizable toast message library for Android

Android Custom Toast Message (SnToast) Customizable Toast Message Library For Android Add this in your root build.gradle file allprojects { reposito

null 9 Nov 15, 2021