code: @Override
    public final void onDismissed(Snackbar snackbar, int dismissEvent) {
      super.onDismissed(snackbar, dismissEvent);
  
      notifySnackbarCallback(snackbar, dismissEvent);
    }
docs: Notifies that the Snackbar has been dismissed through some event, for example swiping or the action being pressed.
  
  @param snackbar     The Snackbar which has been dismissed.
  @param dismissEvent The event which caused the dismissal.