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.
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven("https://jitpack.io") // Add JitPack
}
}
dependencies {
implementation("com.github.AndroidWithRossyn:easytoast:VERSION")
}
- Simple and easy-to-use.
- No external dependencies required.
- Can be used directly by copying the class into your project.
-
Include the class in your project:
- Copy and paste the
EasyToast.kt
file into your Android project.
- Copy and paste the
-
Example:
showToast("This is a Toast!")
Support it by joining stargazers for this repository. ⭐
Also, follow me on GitHub for my next creations! 🤩
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.