Description
Fully Customized Toast.
Super Toast Library alternatives and similar packages
Based on the "Toast Widget" category.
Alternatively, view Super Toast Library alternatives based on common mentions on social networks and blogs.
-
SuperToasts
A library that extends the Android toast framework. -
Android-AppMsg
In-layout notifications. Based on Toast notifications and article by Cyril Mottier (http://android.cyrilmottier.com/?p=773). -
loadtoast
Pretty material design toasts with feedback animations -
MessageBar
An Android Toast replacement, similar to the one seen in the GMail app. -
Literally Toast
๐ The missing toast library for Android. -
Dynamic Toasts
Custom toasts with color and icon on Android. -
FloatingToast-Android
Android library to create customizable floating animated toasts like in Clash Royale app -
CoolToast
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. -
FabToast
Attractive, stylish and customizable toast library for Android. -
MukkiaSevaigal
Android library for commonly used functions
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Super Toast Library or a related project?
README
Super Toast Library 
Written Purely in Kotlin:heart:
Usual Toast but with super powers!!! :muscle:
A Fully Customised and Customisable Toast.
]( https://android-arsenal.com/details/1/7328 )
Type | Output |
---|---|
Success | ![]() |
Warning | ![]() |
Error | ![]() |
Information | ![]() |
Default | ![]() |
Gradle Dependencies
Please do check release notes for latest version.
implementation 'com.github.akhilbv1:CustomToastLibrary:v1.0.2'
Add Jitpack to repositories in Project level Build.Gradle
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
How To Call
CustomToast.makeText(this, Toast.LENGTH_SHORT,CustomToast.DEFAULT, "Toast is working",false).show();
Method | Paramter | Description |
---|---|---|
makeDefaultToast() | Context context,String message | Default Toast |
makeSuccessToast() | Context context,String message,int shouldShowIcon | Success Toast with message and icon visibility |
makeErrorToast() | Context context,String message, int shouldShowIcon | Error Toast with message and icon visibility |
makeWarningToast() | Context context, String message, int shouldShowIcon | Warning Toast with message and icon visibility |
makeInfoToast() | @NonNull Context context, String message, int shouldShowIcon | Information Toast with message and icon visibility |
How to add Custom Layout
please make sure your Custom Layout Textview id is toastMessage otherwise Exception will be thrown.
CustomToastView.makeText([email protected],Toast.LENGTH_SHORT,"Toast is working",R.layout.toast)
To show your layout without altering
CustomToastView.makeText([email protected],Toast.LENGTH_SHORT,R.layout.toast)
If direct call to makeText is popping any error then please use CustomToatView.build (name of companion object)
Future Release Points
- Add Animations
### All commits are welcomed!!