use of org.eclipse.egit.github.core.service.ContentsService in project Bitocle by mthli.
the class ContentTask method onPreExecute.
@Override
protected void onPreExecute() {
mainFragment.setRefreshStatus(true);
context = mainFragment.getContentView().getContext();
refreshType = mainFragment.getRefreshType();
GitHubClient gitHubClient = mainFragment.getGitHubClient();
contentsService = new ContentsService(gitHubClient);
String repoOwner = mainFragment.getRepoOwner();
String repoName = mainFragment.getRepoName();
repositoryId = RepositoryId.create(repoOwner, repoName);
repoPath = mainFragment.getRepoPath();
contentItemAdapter = mainFragment.getContentItemAdapter();
contentItemList = mainFragment.getContentItemList();
contentItemListBuffer = mainFragment.getContentItemListBuffer();
mainFragment.setContentShown(false);
}
Aggregations