use of com.meisolsson.githubsdk.service.repositories.RepositoryReleaseService in project gh4a by slapperwan.
the class ReleaseInfoActivity method loadRelease.
private void loadRelease(boolean force) {
RepositoryReleaseService service = ServiceFactory.get(RepositoryReleaseService.class, force);
service.getRelease(mRepoOwner, mRepoName, mReleaseId).map(ApiHelpers::throwOnFailure).compose(makeLoaderSingle(ID_LOADER_RELEASE, force)).subscribe(result -> {
mRelease = result;
handleReleaseReady();
setContentShown(true);
}, this::handleLoadFailure);
}
Aggregations