use of com.meisolsson.githubsdk.service.issues.IssueAssigneeService in project gh4a by slapperwan.
the class IssueListActivity method filterAssignee.
private void filterAssignee() {
if (mAssignees != null) {
showAssigneesDialog();
} else {
final IssueAssigneeService service = ServiceFactory.get(IssueAssigneeService.class, false);
registerTemporarySubscription(ApiHelpers.PageIterator.toSingle(page -> service.getAssignees(mRepoOwner, mRepoName, page)).compose(RxUtils::doInBackground).compose(RxUtils.wrapWithProgressDialog(this, R.string.loading_msg)).subscribe(assignees -> {
mAssignees = assignees;
showAssigneesDialog();
}, this::handleLoadFailure));
}
}
Aggregations