@Override
    protected void createComment(String comment) {
        CommentRequest commentRequest = CommentRequest.builder()
                .body(comment)
                .build();

        ServiceGenerator.createService(this, IssueCommentService.class)
                .createIssueComment(repositoryId.owner().login(), repositoryId.name(), issueNumber, commentRequest)
                .subscribeOn(Schedulers.io())
                .observeOn(AndroidSchedulers.mainThread())
                .as(AutoDisposeUtils.bindToLifecycle(this))
                .subscribe(response -> finish(response.body()));
    }
Create intent to create a comment

@param repoId
@param issueNumber
@param user
@return intent
app/src/main/java/com/github/pockethub/android/ui/issue/CreateCommentActivity.java