protected void onResult(final int resultCode) {
        final DialogResultListener dialogResultListener = (DialogResultListener) getActivity();
        if (dialogResultListener != null) {
            final Bundle arguments = getArguments();
            if (arguments != null) {
                dialogResultListener.onDialogResult(arguments.getInt(ARG_REQUEST_CODE), resultCode, arguments);
            }
        }
    }
Call back to the activity with the dialog result

@param resultCode
app/src/main/java/com/github/pockethub/android/ui/base/DialogFragmentHelper.java