Learn how to display a beautiful android toast replacemente with the help of the TastyToast library in Android.

1. Install TastyToast
To install the TastyToast library in your Android project, modify the build.gradle file and add a new dependency, namely the tastytoast one:
After modifying, synchronize the project and start again. For more information about this library, please visit the official repository at Github here.
2. Displaying toasts
With TastyToast, you will be able to display 6 types of toasts namely for every ocassion:
- Success
- Warning
- Error
- Information
- Default
- Confusion
You just need to import the namespace on the class where you need it and cast the static makeText method of a the TastyToast class, provide the required parameters and that's it: