viewtify.ui.toast
Toast<T>
T>T
Functionkiss.Signal,Tkiss.SignalTkiss.Narrowkiss.WiseSupplier,kiss.SignalTkiss.Signal,Tkiss.WiseSupplier,kiss.SignalTkiss.SignalTkiss.Wisekiss.WiseFunctionkiss.Signal,Tkiss.SignalT
Represents a Toast notification utility class that provides methods to show various types of notifications. Notifications are displayed as transient messages to the user.
settingToastSetting
show(Objectmessage, kiss.WiseRunnableactions)void
Objectmessage, kiss.WiseRunnableactions)Objectmessage |
The message to be displayed in the notification. |
kiss.WiseRunnableactions |
Optional actions (WiseRunnable) to be performed when the notification is interacted with. |
Shows a Toast notification with the specified message and optional actions.
show(Stringmessage, kiss.WiseRunnableactions)void
Stringmessage, kiss.WiseRunnableactions)Stringmessage |
The message to be displayed in the notification. |
kiss.WiseRunnableactions |
Optional actions (WiseRunnable) to be performed when the notification is interacted with. |
Shows a Toast notification with the specified message and optional actions.
show(kiss.VariableStringmessage, kiss.WiseRunnableactions)void
kiss.VariableStringmessage, kiss.WiseRunnableactions)kiss.Variablemessage |
The dynamic message variable to be displayed in the notification. |
kiss.WiseRunnableactions |
Optional actions (WiseRunnable) to be performed when the notification is interacted with. |
Shows a Toast notification with the specified dynamic message variable and optional actions.
title(Stringtitle)ToastT
Stringtitle)TT |
|
Stringtitle |
|
Toast |
Create Toast with the specified title.
title(kiss.VariableStringtitle)ToastT
kiss.VariableStringtitle)TT |
|
kiss.Variabletitle |
|
Toast |
Create Toast with the specified title.
message(Stringmessage)ToastT
Stringmessage)TStringmessage |
|
Toast |
Set message.
totalProgress(intsize)ToastT
intsize)Tintsize |
|
Toast |
Set total progress.
incrementProgress()void
Increment progress.
decrementProgress()void
Increment progress.
setProgress(intprogress)void
intprogress)intprogress |
Set progress
resetProgress()void
Reset progress.
completeProgress()void
Complete progress
whenProgressed(kiss.WiseBiConsumerToastT, Taction)ToastT
kiss.WiseBiConsumerToastT, Taction)Tkiss.WiseBiConsumeraction |
|
Toast |
Register progress action.
whenCanceled(kiss.WiseRunnableaction)ToastT
kiss.WiseRunnableaction)Tkiss.WiseRunnableaction |
|
Toast |
Register cancel action.
whenCompleted(kiss.WiseRunnableaction)ToastT
kiss.WiseRunnableaction)Tkiss.WiseRunnableaction |
|
Toast |
Register complete action.
show(kiss.SignalTsignal)void
kiss.SignalTsignal)kiss.Signalsignal |
Shows a Toast notification for the specified data stream.
APPLY(kiss.SignalTtask)kiss.SignalT
kiss.SignalTtask)Tkiss.Signaltask |
|
kiss.Signal |
|
Throwable |