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() {} }); }
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() {} }); }