Ejemplo n.º 1
0
 /**
  * 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);
 }
Ejemplo n.º 2
0
 /**
  * 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);
 }
Ejemplo n.º 3
0
 /**
  * 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);
 }