Skip to content

EasyToast is a lightweight Kotlin/Java class designed to simplify the use of Toast messages in Android applications.

License

Notifications You must be signed in to change notification settings

AndroidWithRossyn/easytoast

Repository files navigation

EasyToast

Medium

EasyToast is a lightweight Kotlin/Java class designed to simplify the use of Toast messages in Android applications. It was initially created for personal use but is now shared publicly to help others.

Add JitPack Repository in settings.gradle.kts:

dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
        maven("https://jitpack.io") // Add JitPack
    }
}

Add the Dependency in build.gradle.kts:

dependencies {
    implementation("com.github.AndroidWithRossyn:easytoast:VERSION")
}

Features

  • Simple and easy-to-use.
  • No external dependencies required.
  • Can be used directly by copying the class into your project.

Usage

  1. Include the class in your project:

    • Copy and paste the EasyToast.kt file into your Android project.
  2. Example:

    showToast("This is a Toast!")

Find this Repository useful? ❤️

Support it by joining stargazers for this repository. ⭐

Also, follow me on GitHub for my next creations! 🤩

License

Copyright 2024 Rossyn

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.

About

EasyToast is a lightweight Kotlin/Java class designed to simplify the use of Toast messages in Android applications.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages