/** * Search repos * * @param keyword * @param sort * @param order * @param pageCount * @param perPageCount * @param callback */ public void searchRepo( String keyword, SortEnumRepo sort, OrderEnum order, int pageCount, int perPageCount, ApiCallback<SearchedRepos> callback) { mGithubApi.searchRepo( keyword, sort, order, String.valueOf(pageCount), String.valueOf(perPageCount), callback); }
/** * Search repos by page, best match and desc order * * @param keyword * @param pageCount * @param perPageCount * @param callback */ public void searchRepo( String keyword, int pageCount, int perPageCount, ApiCallback<SearchedRepos> callback) { mGithubApi.searchRepo( keyword, null, null, String.valueOf(pageCount), String.valueOf(perPageCount), callback); }
/** * Search repos, best match, desc, default page config * * @param keyword repo name * @param callback */ public void searchRepo(String keyword, ApiCallback<SearchedRepos> callback) { mGithubApi.searchRepo(keyword, null, null, null, null, callback); }