@Override public void onCancelAutoMappingDialogPositiveClick(CancelAutoMapDialog dialog) { // TODO stop calculation mActivity.setProgressBarVisibility(View.GONE); mActivity.triggerEditMode(); }
@Override public void handleMenuAction(MenuItem item) { switch (item.getItemId()) { case R.id.action_cancel_auto_mapping: CancelAutoMapDialog autoMappingDialogFragment = new CancelAutoMapDialog(); autoMappingDialogFragment.attachHandler(this); autoMappingDialogFragment.show(mActivity.getSupportFragmentManager(), "Edit Room"); return; } }