Interface CloseHandler
-
public interface CloseHandler
Callback interface ofToaster
utility to be notified of toast item closing.
It receives also the action which closed the toast ornull
if the toast has been closed naturally.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onClose(ToastItem item, ActionItem action)
Invoked to be notified of toast item closing.
-
-
-
Method Detail
-
onClose
void onClose(ToastItem item, ActionItem action)
Invoked to be notified of toast item closing.- Parameters:
item
- toast item affectedaction
- action which closed the toast ornull
if the toast has been closed naturally.
-
-