예제 #1
0
    @Override
    public void onCancel(DialogInterface dialog) {

      if (asyncTask != null) {
        asyncTask.cancel(true);
      }

      super.onCancel(dialog);
    }
  public void finish() {
    if (mode != null) mode.finish();

    if (followOrUnfollowTask != null) followOrUnfollowTask.cancel(true);
  }