Exemplo n.º 1
0
 /**
  * List specified user's performed events by page
  *
  * @param username
  * @param callback
  */
 public void getUserEvents(
     String username, int pageCount, int perPageCount, ApiCallback<List<TimeLineEvent>> callback) {
   mGithubApi.userEvents(
       username, String.valueOf(pageCount), String.valueOf(perPageCount), callback);
 }
Exemplo n.º 2
0
 /**
  * List events performed by a user
  *
  * @param username
  * @param callback
  */
 public void getUserEvents(String username, ApiCallback<List<TimeLineEvent>> callback) {
   mGithubApi.userEvents(username, null, null, callback);
 }