-
Notifications
You must be signed in to change notification settings - Fork 1
Toast Module
AviShek Adhikari edited this page Aug 15, 2020
·
2 revisions
This module provides toast function to all the string objects.
For short toasts
"Checking Toast".toast().lazy()
For Long Toasts
"Checking Toast".toast(Toast.LENGTH_LONG).lazy()
.toast(time: Int = Toast.LENGTH_SHORT) -> it takes one parameter as integer which is used to pass time to the toast which is optional