code: private OnClickListener createNegativeButtonListener() {
          return new OnClickListener() {
  
              @Override
              public void onClick(DialogInterface dialog, int which) {
                  Toast.makeText(getActivity(), R.string.negative_button_toast, Toast.LENGTH_SHORT)
                          .show();
              }
  
          };
      }
docs: Creates and returns a listener, which allows to show a toast, when the negative button of a
  dialog has been clicked.
  
  @return The listener, which has been created, as an instance of the class {@link
  OnClickListener}