private Single<List<GitHubComment>> getAllComments(String login, String name, Issue issue) {
        if (issue.comments() <= 0) {
            return Single.just(Collections.emptyList());
        }

        IssueCommentService service = ServiceGenerator.createService(context,
                IssueCommentService.class);
        return RxPageUtil.getAllPages(page ->
                service.getIssueComments(login, name, issue.number(), page), 1)
                .flatMap(page -> Observable.fromIterable(page.items()))
                .toList();
    }
Fetches all comments for a given issue.

@param login
@param name
@param issue
@return {@link Single}
app/src/main/java/com/github/pockethub/android/core/issue/RefreshIssueTask.java