-
public class ToastSenderResponsible for sending Toasts under all circumstances.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ToastSenderINSTANCE
-
Method Summary
-
-
Method Detail
-
sendToast
final static Unit sendToast(Context context, String toast, @IntRange(from = 0.toLong(), to = 1.toLong()) Integer toastLength)
Sends a Toast and ensures that any Exception thrown during sending is handled.
- Parameters:
context- Application context.toast- toast message.toastLength- Length of the Toast.
-
-
-
-