/** * 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); }
/** * 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); }