https://github.com/androidwithrossyn/easytoast
EasyToast is a lightweight Kotlin/Java class designed to simplify the use of Toast messages in Android applications.
https://github.com/androidwithrossyn/easytoast
toast toast-message toast-notifications toaster
Last synced: 6 months ago
JSON representation
EasyToast is a lightweight Kotlin/Java class designed to simplify the use of Toast messages in Android applications.
- Host: GitHub
- URL: https://github.com/androidwithrossyn/easytoast
- Owner: AndroidWithRossyn
- License: apache-2.0
- Created: 2024-12-19T15:50:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-27T14:54:50.000Z (about 1 year ago)
- Last Synced: 2025-05-15T04:09:53.552Z (9 months ago)
- Topics: toast, toast-message, toast-notifications, toaster
- Language: Kotlin
- Homepage:
- Size: 138 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# EasyToast
[](https://jitpack.io/#AndroidWithRossyn/easytoast)
[](https://rohitrajkhorwal.medium.com/android-toast-utilities-a-better-way-to-handle-toast-messages-rohitrajkhorwal-e16f555238ac)
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`:
```kotlin
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven("https://jitpack.io") // Add JitPack
}
}
```
### Add the Dependency in `build.gradle.kts`:
```kotlin
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:**
```kotlin
showToast("This is a Toast!")
```
### Find this Repository useful? ❤️
Support it by joining stargazers for this repository. ⭐
Also, [follow me on GitHub](https://github.com/AndroidWithRossyn/) 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.
```