public void show(User selectedAssignee) {
        assigneeSingle.subscribe(collaborators -> {
            int checked = -1;
            if (selectedAssignee != null) {
                for (int i = 0; i < collaborators.size(); i++) {
                    if (selectedAssignee.login().equals(collaborators.get(i).login())) {
                        checked = i;
                    }
                }
            }
            AssigneeDialogFragment.show(activity, requestCode,
                    activity.getString(R.string.select_assignee), null, new ArrayList<>(collaborators),
                    checked);
        }, error -> {
            Log.d(TAG, "Exception loading collaborators", error);
            ToastUtils.show(activity, R.string.error_collaborators_load);
        });
    }
Show dialog with given assignee selected

@param selectedAssignee
app/src/main/java/com/github/pockethub/android/ui/issue/AssigneeDialog.java