Interface CloseHandler


  • public interface CloseHandler
    Callback interface of Toaster utility to be notified of toast item closing.
    It receives also the action which closed the toast or null if the toast has been closed naturally.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onClose

        void onClose​(ToastItem item,
                     ActionItem action)
        Invoked to be notified of toast item closing.
        Parameters:
        item - toast item affected
        action - action which closed the toast or null if the toast has been closed naturally.