public interface CloseHandler
Toaster
utility to be notified of toast item closing.null
if the toast has been closed naturally.Modifier and Type | Method and Description |
---|---|
void |
onClose(ToastItem item,
ActionItem action)
Invoked to be notified of toast item closing.
|
void onClose(ToastItem item, ActionItem action)
item
- toast item affectedaction
- action which closed the toast or null
if the toast has been closed naturally.