コード例 #1
0
  private void handleRemoveDetail(final DetailItem<Detail> di) {
    if (mState == State.Default) return;
    QuestionDialog.show(
        DrifMaps.Words.ReallyQstn(),
        new QuestionDialog.OnQuestionDialogButtonClick() {
          @Override
          public void onYesClick() {
            onRemoveDetail(di);
          }

          @Override
          public void onNoClick() {}

          @Override
          public void onCancelClick() {}
        });
  }
コード例 #2
0
  private void handleRemoveCon(final ContextItem<String> ci) {
    if (mState == State.Default) return;
    QuestionDialog.show(
        DrifMaps.Words.ReallyQstn(),
        new QuestionDialog.OnQuestionDialogButtonClick() {
          @Override
          public void onYesClick() {
            onRemoveCon(ci);
          }

          @Override
          public void onNoClick() {}

          @Override
          public void onCancelClick() {}
        });
  }