code: @SuppressWarnings("unchecked")
      protected void notifyDialogCancelled() {
          if (getActivity() instanceof ItemPickerListener) {
              ((ItemPickerListener<ItemT>) getActivity()).onCancelled(getPickerId());
          }
  
          if (getParentFragment() instanceof ItemPickerListener) {
              ((ItemPickerListener<ItemT>) getParentFragment()).onCancelled(getPickerId());
          }
  
          if (getTargetFragment() instanceof ItemPickerListener) {
              ((ItemPickerListener<ItemT>) getTargetFragment()).onCancelled(getPickerId());
          }
      }
docs: ==