code: @Override
      public void onCancelled(int requestCode) {
          switch (requestCode) {
              case REQUEST_SIMPLE_DIALOG:
                  Toast.makeText(c, "Dialog cancelled", Toast.LENGTH_SHORT).show();
                  break;
              case REQUEST_PROGRESS:
                  Toast.makeText(c, "Progress dialog cancelled", Toast.LENGTH_SHORT).show();
                  break;
              case REQUEST_LIST_SIMPLE:
              case REQUEST_LIST_SINGLE:
              case REQUEST_LIST_MULTIPLE:
                  Toast.makeText(c, "Nothing selected", Toast.LENGTH_SHORT).show();
                  break;
              case REQUEST_DATE_PICKER:
                  Toast.makeText(c, "Date picker cancelled", Toast.LENGTH_SHORT).show();
                  break;
              case REQUEST_TIME_PICKER:
                  Toast.makeText(c, "Time picker cancelled", Toast.LENGTH_SHORT).show();
                  break;
          }
      }
docs: ISimpleDialogCancelListener