{"action":"opened","number":80,"pull_request":{"url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/pulls/80","id":99615284,"html_url":"https://github.com/hongyangAndroid/baseAdapter/pull/80","diff_url":"https://github.com/hongyangAndroid/baseAdapter/pull/80.diff","patch_url":"https://github.com/hongyangAndroid/baseAdapter/pull/80.patch","issue_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/issues/80","number":80,"state":"open","locked":false,"title":"去掉冗余代码","user":{"login":"JackChen1999","id":16631168,"avatar_url":"https://avatars.githubusercontent.com/u/16631168?v=3","gravatar_id":"","url":"https://api.github.com/users/JackChen1999","html_url":"https://github.com/JackChen1999","followers_url":"https://api.github.com/users/JackChen1999/followers","following_url":"https://api.github.com/users/JackChen1999/following{/other_user}","gists_url":"https://api.github.com/users/JackChen1999/gists{/gist_id}","starred_url":"https://api.github.com/users/JackChen1999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackChen1999/subscriptions","organizations_url":"https://api.github.com/users/JackChen1999/orgs","repos_url":"https://api.github.com/users/JackChen1999/repos","events_url":"https://api.github.com/users/JackChen1999/events{/privacy}","received_events_url":"https://api.github.com/users/JackChen1999/received_events","type":"User","site_admin":false},"body":"public ItemViewDelegateManager<T> addDelegate(ItemViewDelegate<T> delegate)\r\n    {\r\n        int viewType = delegates.size();\r\n        if (delegate != null)\r\n        {\r\n            delegates.put(viewType, delegate);\r\n            //viewType++ 冗余代码\r\n        }\r\n        return this;\r\n    }","created_at":"2016-12-29T03:33:42Z","updated_at":"2016-12-29T03:33:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/pulls/80/commits","review_comments_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/pulls/80/comments","review_comment_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/issues/80/comments","statuses_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/statuses/2e53aa2f486f0742a5720d9eb0d65042e9a2da10","head":{"label":"JackChen1999:master","ref":"master","sha":"2e53aa2f486f0742a5720d9eb0d65042e9a2da10","user":{"login":"JackChen1999","id":16631168,"avatar_url":"https://avatars.githubusercontent.com/u/16631168?v=3","gravatar_id":"","url":"https://api.github.com/users/JackChen1999","html_url":"https://github.com/JackChen1999","followers_url":"https://api.github.com/users/JackChen1999/followers","following_url":"https://api.github.com/users/JackChen1999/following{/other_user}","gists_url":"https://api.github.com/users/JackChen1999/gists{/gist_id}","starred_url":"https://api.github.com/users/JackChen1999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackChen1999/subscriptions","organizations_url":"https://api.github.com/users/JackChen1999/orgs","repos_url":"https://api.github.com/users/JackChen1999/repos","events_url":"https://api.github.com/users/JackChen1999/events{/privacy}","received_events_url":"https://api.github.com/users/JackChen1999/received_events","type":"User","site_admin":false},"repo":{"id":77579684,"name":"baseAdapter","full_name":"JackChen1999/baseAdapter","owner":{"login":"JackChen1999","id":16631168,"avatar_url":"https://avatars.githubusercontent.com/u/16631168?v=3","gravatar_id":"","url":"https://api.github.com/users/JackChen1999","html_url":"https://github.com/JackChen1999","followers_url":"https://api.github.com/users/JackChen1999/followers","following_url":"https://api.github.com/users/JackChen1999/following{/other_user}","gists_url":"https://api.github.com/users/JackChen1999/gists{/gist_id}","starred_url":"https://api.github.com/users/JackChen1999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackChen1999/subscriptions","organizations_url":"https://api.github.com/users/JackChen1999/orgs","repos_url":"https://api.github.com/users/JackChen1999/repos","events_url":"https://api.github.com/users/JackChen1999/events{/privacy}","received_events_url":"https://api.github.com/users/JackChen1999/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JackChen1999/baseAdapter","description":"Android 万能的Adapter for ListView,RecyclerView,GridView等，支持多种Item类型的情况。","fork":true,"url":"https://api.github.com/repos/JackChen1999/baseAdapter","forks_url":"https://api.github.com/repos/JackChen1999/baseAdapter/forks","keys_url":"https://api.github.com/repos/JackChen1999/baseAdapter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JackChen1999/baseAdapter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JackChen1999/baseAdapter/teams","hooks_url":"https://api.github.com/repos/JackChen1999/baseAdapter/hooks","issue_events_url":"https://api.github.com/repos/JackChen1999/baseAdapter/issues/events{/number}","events_url":"https://api.github.com/repos/JackChen1999/baseAdapter/events","assignees_url":"https://api.github.com/repos/JackChen1999/baseAdapter/assignees{/user}","branches_url":"https://api.github.com/repos/JackChen1999/baseAdapter/branches{/branch}","tags_url":"https://api.github.com/repos/JackChen1999/baseAdapter/tags","blobs_url":"https://api.github.com/repos/JackChen1999/baseAdapter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JackChen1999/baseAdapter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JackChen1999/baseAdapter/git/refs{/sha}","trees_url":"https://api.github.com/repos/JackChen1999/baseAdapter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JackChen1999/baseAdapter/statuses/{sha}","languages_url":"https://api.github.com/repos/JackChen1999/baseAdapter/languages","stargazers_url":"https://api.github.com/repos/JackChen1999/baseAdapter/stargazers","contributors_url":"https://api.github.com/repos/JackChen1999/baseAdapter/contributors","subscribers_url":"https://api.github.com/repos/JackChen1999/baseAdapter/subscribers","subscription_url":"https://api.github.com/repos/JackChen1999/baseAdapter/subscription","commits_url":"https://api.github.com/repos/JackChen1999/baseAdapter/commits{/sha}","git_commits_url":"https://api.github.com/repos/JackChen1999/baseAdapter/git/commits{/sha}","comments_url":"https://api.github.com/repos/JackChen1999/baseAdapter/comments{/number}","issue_comment_url":"https://api.github.com/repos/JackChen1999/baseAdapter/issues/comments{/number}","contents_url":"https://api.github.com/repos/JackChen1999/baseAdapter/contents/{+path}","compare_url":"https://api.github.com/repos/JackChen1999/baseAdapter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JackChen1999/baseAdapter/merges","archive_url":"https://api.github.com/repos/JackChen1999/baseAdapter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JackChen1999/baseAdapter/downloads","issues_url":"https://api.github.com/repos/JackChen1999/baseAdapter/issues{/number}","pulls_url":"https://api.github.com/repos/JackChen1999/baseAdapter/pulls{/number}","milestones_url":"https://api.github.com/repos/JackChen1999/baseAdapter/milestones{/number}","notifications_url":"https://api.github.com/repos/JackChen1999/baseAdapter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JackChen1999/baseAdapter/labels{/name}","releases_url":"https://api.github.com/repos/JackChen1999/baseAdapter/releases{/id}","deployments_url":"https://api.github.com/repos/JackChen1999/baseAdapter/deployments","created_at":"2016-12-29T03:29:28Z","updated_at":"2016-12-29T03:29:30Z","pushed_at":"2016-12-29T03:31:49Z","git_url":"git://github.com/JackChen1999/baseAdapter.git","ssh_url":"git@github.com:JackChen1999/baseAdapter.git","clone_url":"https://github.com/JackChen1999/baseAdapter.git","svn_url":"https://github.com/JackChen1999/baseAdapter","homepage":"","size":724,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hongyangAndroid:master","ref":"master","sha":"4898fab7f0646389be398e1712b9a7fd74528300","user":{"login":"hongyangAndroid","id":10704521,"avatar_url":"https://avatars.githubusercontent.com/u/10704521?v=3","gravatar_id":"","url":"https://api.github.com/users/hongyangAndroid","html_url":"https://github.com/hongyangAndroid","followers_url":"https://api.github.com/users/hongyangAndroid/followers","following_url":"https://api.github.com/users/hongyangAndroid/following{/other_user}","gists_url":"https://api.github.com/users/hongyangAndroid/gists{/gist_id}","starred_url":"https://api.github.com/users/hongyangAndroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongyangAndroid/subscriptions","organizations_url":"https://api.github.com/users/hongyangAndroid/orgs","repos_url":"https://api.github.com/users/hongyangAndroid/repos","events_url":"https://api.github.com/users/hongyangAndroid/events{/privacy}","received_events_url":"https://api.github.com/users/hongyangAndroid/received_events","type":"User","site_admin":false},"repo":{"id":40102186,"name":"baseAdapter","full_name":"hongyangAndroid/baseAdapter","owner":{"login":"hongyangAndroid","id":10704521,"avatar_url":"https://avatars.githubusercontent.com/u/10704521?v=3","gravatar_id":"","url":"https://api.github.com/users/hongyangAndroid","html_url":"https://github.com/hongyangAndroid","followers_url":"https://api.github.com/users/hongyangAndroid/followers","following_url":"https://api.github.com/users/hongyangAndroid/following{/other_user}","gists_url":"https://api.github.com/users/hongyangAndroid/gists{/gist_id}","starred_url":"https://api.github.com/users/hongyangAndroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongyangAndroid/subscriptions","organizations_url":"https://api.github.com/users/hongyangAndroid/orgs","repos_url":"https://api.github.com/users/hongyangAndroid/repos","events_url":"https://api.github.com/users/hongyangAndroid/events{/privacy}","received_events_url":"https://api.github.com/users/hongyangAndroid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hongyangAndroid/baseAdapter","description":"Android 万能的Adapter for ListView,RecyclerView,GridView等，支持多种Item类型的情况。","fork":false,"url":"https://api.github.com/repos/hongyangAndroid/baseAdapter","forks_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/forks","keys_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/teams","hooks_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/hooks","issue_events_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/issues/events{/number}","events_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/events","assignees_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/assignees{/user}","branches_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/branches{/branch}","tags_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/tags","blobs_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/git/refs{/sha}","trees_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/statuses/{sha}","languages_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/languages","stargazers_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/stargazers","contributors_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/contributors","subscribers_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/subscribers","subscription_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/subscription","commits_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/commits{/sha}","git_commits_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/git/commits{/sha}","comments_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/comments{/number}","issue_comment_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/issues/comments{/number}","contents_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/contents/{+path}","compare_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/merges","archive_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/downloads","issues_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/issues{/number}","pulls_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/pulls{/number}","milestones_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/milestones{/number}","notifications_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/labels{/name}","releases_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/releases{/id}","deployments_url":"https://api.github.com/repos/hongyangAndroid/baseAdapter/deployments","created_at":"2015-08-03T02:55:51Z","updated_at":"2016-12-29T03:20:31Z","pushed_at":"2016-11-28T07:12:17Z","git_url":"git://github.com/hongyangAndroid/baseAdapter.git","ssh_url":"git@github.com:hongyangAndroid/baseAdapter.git","clone_url":"https://github.com/hongyangAndroid/baseAdapter.git","svn_url":"https://github.com/hongyangAndroid/baseAdapter","homepage":"","size":724,"stargazers_count":1826,"watchers_count":1826,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":620,"mirror_url":null,"open_issues_count":72,"forks":620,"open_issues":72,"watchers":1826,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hongyangAndroid/baseAdapter/pulls/80"},"html":{"href":"https://github.com/hongyangAndroid/baseAdapter/pull/80"},"issue":{"href":"https://api.github.com/repos/hongyangAndroid/baseAdapter/issues/80"},"comments":{"href":"https://api.github.com/repos/hongyangAndroid/baseAdapter/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/hongyangAndroid/baseAdapter/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/hongyangAndroid/baseAdapter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hongyangAndroid/baseAdapter/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/hongyangAndroid/baseAdapter/statuses/2e53aa2f486f0742a5720d9eb0d65042e9a2da10"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"JackChen1999"}}