コード例 #1
0
 /**
  * List public events that a user has received by page
  *
  * @param username
  * @param pageCount
  * @param perPageCount
  * @param callback
  */
 public void getReceivedEvents(
     String username, int pageCount, int perPageCount, ApiCallback<List<TimeLineEvent>> callback) {
   mGithubApi.receivedEvents(
       username, String.valueOf(pageCount), String.valueOf(perPageCount), callback);
 }
コード例 #2
0
 /**
  * List public events that a user has received
  *
  * @param username
  * @param callback
  */
 public void getReceivedEvents(String username, ApiCallback<List<TimeLineEvent>> callback) {
   mGithubApi.receivedEvents(username, null, null, callback);
 }