@Override
    public void onItemClick(@NonNull Item item, @NonNull View view) {
        super.onItemClick(item, view);
        if (item instanceof AssigneeDialogItem) {
            getArguments().putParcelable(ARG_SELECTED, ((AssigneeDialogItem) item).getUser());
            onResult(RESULT_OK);
        }
    }
Confirm message and deliver callback to given activity

@param activity
@param requestCode
@param title
@param message
@param choices
@param selectedChoice
app/src/main/java/com/github/pockethub/android/ui/issue/AssigneeDialogFragment.java