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