viewtify.ui.toast
Toast
<T
>
T
>T
Function
kiss.Signal
,T
kiss.Signal
T
kiss.Narrow
kiss.WiseSupplier
,kiss.Signal
T
kiss.Signal
,T
kiss.WiseSupplier
,kiss.Signal
T
kiss.Signal
T
kiss.Wise
kiss.WiseFunction
kiss.Signal
,T
kiss.Signal
T
Represents a Toast notification utility class that provides methods to show various types of notifications. Notifications are displayed as transient messages to the user.
setting
ToastSetting
show
(Object
message
, kiss.WiseRunnable
actions
)
void
Object
message
, kiss.WiseRunnable
actions
)Object message |
The message to be displayed in the notification. |
kiss.WiseRunnable actions |
Optional actions (WiseRunnable) to be performed when the notification is interacted with. |
Shows a Toast notification with the specified message and optional actions.
show
(String
message
, kiss.WiseRunnable
actions
)
void
String
message
, kiss.WiseRunnable
actions
)String message |
The message to be displayed in the notification. |
kiss.WiseRunnable actions |
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.VariableString
message
, kiss.WiseRunnable
actions
)
void
kiss.VariableString
message
, kiss.WiseRunnable
actions
)kiss.Variable message |
The dynamic message variable to be displayed in the notification. |
kiss.WiseRunnable actions |
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
(String
title
)
ToastT
String
title
)T
T |
|
String title |
|
Toast |
Create Toast
with the specified title.
title
(kiss.VariableString
title
)
ToastT
kiss.VariableString
title
)T
T |
|
kiss.Variable title |
|
Toast |
Create Toast
with the specified title.
message
(String
message
)
ToastT
String
message
)T
String message |
|
Toast |
Set message.
totalProgress
(int
size
)
ToastT
int
size
)T
int size |
|
Toast |
Set total progress.
incrementProgress
()
void
Increment progress.
decrementProgress
()
void
Increment progress.
setProgress
(int
progress
)
void
int
progress
)int progress |
Set progress
resetProgress
()
void
Reset progress.
completeProgress
()
void
Complete progress
whenProgressed
(kiss.WiseBiConsumerToastT
, T
action
)
ToastT
kiss.WiseBiConsumerToastT
, T
action
)T
kiss.WiseBiConsumer action |
|
Toast |
Register progress action.
whenCanceled
(kiss.WiseRunnable
action
)
ToastT
kiss.WiseRunnable
action
)T
kiss.WiseRunnable action |
|
Toast |
Register cancel action.
whenCompleted
(kiss.WiseRunnable
action
)
ToastT
kiss.WiseRunnable
action
)T
kiss.WiseRunnable action |
|
Toast |
Register complete action.
show
(kiss.SignalT
signal
)
void
kiss.SignalT
signal
)kiss.Signal signal |
Shows a Toast notification for the specified data stream.
APPLY
(kiss.SignalT
task
)
kiss.SignalT
kiss.SignalT
task
)T
kiss.Signal task |
|
kiss.Signal |
|
Throwable |