Popularity
0.8
Stable
Activity
0.0
Stable
10
1
4

Description

Add this to your module's build.gradle file (make sure the version matches the JitPack badge above):

Programming language: Kotlin
License: GNU General Public License v3.0 only
Tags: Kotlin     UI     Android     Java     Android-library     Toast     Kotlin Library    

ToastOrEgg alternatives and similar packages

Based on the "Kotlin" category.
Alternatively, view ToastOrEgg alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of ToastOrEgg or a related project?

Add another 'Kotlin' Package

README

ToastOrEgg

Artboard 1@4x

Prerequisites

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

Dependency

Add this to your module's build.gradle file (make sure the version matches the JitPack badge above):

  dependencies {
            implementation 'com.github.fullpagedevelopers:ToastOrEgg:1.0'
    }

Usage

### duration: 0 Long

### duration: 1 short

original toast by changing the background

toastOrEgg( "Anjayyyyy", 1, R.color.design_default_color_primary_variant)

to toast all attributes

toastOrEgg( "Gokilllll", 0, R.color.black, R.color.white, R.drawable.ic_baseline_lock_24)

for toast do not use color

toastOrEgg( "Gokilllll", 0, null, null, R.drawable.ic_baseline_lock_24)

for toast does not use image

toastOrEgg( "Gokilllll", 0, R.color.black, R.color.white,null)

for fragments you can use an activity

 activity?.toastOrEgg("hahahah", 0, R.color.black, R.color.white, R.drawable.ic_baseline_check_24)

## ScreenShoot