{"action":"closed","number":392,"pull_request":{"url":"https://api.github.com/repos/JakeWharton/butterknife/pulls/392","id":47523202,"html_url":"https://github.com/JakeWharton/butterknife/pull/392","diff_url":"https://github.com/JakeWharton/butterknife/pull/392.diff","patch_url":"https://github.com/JakeWharton/butterknife/pull/392.patch","issue_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/392","number":392,"state":"closed","locked":false,"title":"Support for unbinder inheritance.","user":{"login":"serj-lotutovici","id":1552206,"avatar_url":"https://avatars.githubusercontent.com/u/1552206?v=3","gravatar_id":"","url":"https://api.github.com/users/serj-lotutovici","html_url":"https://github.com/serj-lotutovici","followers_url":"https://api.github.com/users/serj-lotutovici/followers","following_url":"https://api.github.com/users/serj-lotutovici/following{/other_user}","gists_url":"https://api.github.com/users/serj-lotutovici/gists{/gist_id}","starred_url":"https://api.github.com/users/serj-lotutovici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serj-lotutovici/subscriptions","organizations_url":"https://api.github.com/users/serj-lotutovici/orgs","repos_url":"https://api.github.com/users/serj-lotutovici/repos","events_url":"https://api.github.com/users/serj-lotutovici/events{/privacy}","received_events_url":"https://api.github.com/users/serj-lotutovici/received_events","type":"User","site_admin":false},"body":"This address the issue raised in #390. Allows unbinders to inherit form parent `ViewBinder.ViewUnbinder`'s.\r\n\r\n__Changes:__\r\n* Renamed `ButterKnife.Unbinder` -> `ButerKnife.ViewUnbinder`.\r\n* By default only the top level Unbinder (no parent case) overrides the `ButterKnife.ViewUnbinder#unbind()` method, making it final. The actual unbindings happen in `generated_source$$ViewBinder.Unbinder#unbind(T)`, this allows all child unbinders to override it not braking the expected behaviour. \r\n* For every \"potential\" parent unbinder we generate 2 protected helper methods in the `ViewBinder` class.\r\n* Each child `ViewBInder` overrides at at-least the `createUnbinder` method providing he's \"extended\" Unbinder. \r\n* If a child also binds an unbinder, `accessUnbinder` will be overriden, but will be called only from the next child in the hierarchy (if any).","created_at":"2015-10-13T11:54:23Z","updated_at":"2016-03-04T02:25:05Z","closed_at":"2016-03-04T02:25:05Z","merged_at":"2016-03-04T02:25:05Z","merge_commit_sha":"13341312a87431de6a803e2ffb4742f33ac3cb2b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JakeWharton/butterknife/pulls/392/commits","review_comments_url":"https://api.github.com/repos/JakeWharton/butterknife/pulls/392/comments","review_comment_url":"https://api.github.com/repos/JakeWharton/butterknife/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/392/comments","statuses_url":"https://api.github.com/repos/JakeWharton/butterknife/statuses/d4c27543b67de7140af23208f62807c80d556f19","head":{"label":"serj-lotutovici:sl/unbinder_extend_from_parent","ref":"sl/unbinder_extend_from_parent","sha":"d4c27543b67de7140af23208f62807c80d556f19","user":{"login":"serj-lotutovici","id":1552206,"avatar_url":"https://avatars.githubusercontent.com/u/1552206?v=3","gravatar_id":"","url":"https://api.github.com/users/serj-lotutovici","html_url":"https://github.com/serj-lotutovici","followers_url":"https://api.github.com/users/serj-lotutovici/followers","following_url":"https://api.github.com/users/serj-lotutovici/following{/other_user}","gists_url":"https://api.github.com/users/serj-lotutovici/gists{/gist_id}","starred_url":"https://api.github.com/users/serj-lotutovici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serj-lotutovici/subscriptions","organizations_url":"https://api.github.com/users/serj-lotutovici/orgs","repos_url":"https://api.github.com/users/serj-lotutovici/repos","events_url":"https://api.github.com/users/serj-lotutovici/events{/privacy}","received_events_url":"https://api.github.com/users/serj-lotutovici/received_events","type":"User","site_admin":false},"repo":{"id":40016909,"name":"butterknife","full_name":"serj-lotutovici/butterknife","owner":{"login":"serj-lotutovici","id":1552206,"avatar_url":"https://avatars.githubusercontent.com/u/1552206?v=3","gravatar_id":"","url":"https://api.github.com/users/serj-lotutovici","html_url":"https://github.com/serj-lotutovici","followers_url":"https://api.github.com/users/serj-lotutovici/followers","following_url":"https://api.github.com/users/serj-lotutovici/following{/other_user}","gists_url":"https://api.github.com/users/serj-lotutovici/gists{/gist_id}","starred_url":"https://api.github.com/users/serj-lotutovici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serj-lotutovici/subscriptions","organizations_url":"https://api.github.com/users/serj-lotutovici/orgs","repos_url":"https://api.github.com/users/serj-lotutovici/repos","events_url":"https://api.github.com/users/serj-lotutovici/events{/privacy}","received_events_url":"https://api.github.com/users/serj-lotutovici/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/serj-lotutovici/butterknife","description":"View \"injection\" library for Android.","fork":true,"url":"https://api.github.com/repos/serj-lotutovici/butterknife","forks_url":"https://api.github.com/repos/serj-lotutovici/butterknife/forks","keys_url":"https://api.github.com/repos/serj-lotutovici/butterknife/keys{/key_id}","collaborators_url":"https://api.github.com/repos/serj-lotutovici/butterknife/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/serj-lotutovici/butterknife/teams","hooks_url":"https://api.github.com/repos/serj-lotutovici/butterknife/hooks","issue_events_url":"https://api.github.com/repos/serj-lotutovici/butterknife/issues/events{/number}","events_url":"https://api.github.com/repos/serj-lotutovici/butterknife/events","assignees_url":"https://api.github.com/repos/serj-lotutovici/butterknife/assignees{/user}","branches_url":"https://api.github.com/repos/serj-lotutovici/butterknife/branches{/branch}","tags_url":"https://api.github.com/repos/serj-lotutovici/butterknife/tags","blobs_url":"https://api.github.com/repos/serj-lotutovici/butterknife/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/serj-lotutovici/butterknife/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/serj-lotutovici/butterknife/git/refs{/sha}","trees_url":"https://api.github.com/repos/serj-lotutovici/butterknife/git/trees{/sha}","statuses_url":"https://api.github.com/repos/serj-lotutovici/butterknife/statuses/{sha}","languages_url":"https://api.github.com/repos/serj-lotutovici/butterknife/languages","stargazers_url":"https://api.github.com/repos/serj-lotutovici/butterknife/stargazers","contributors_url":"https://api.github.com/repos/serj-lotutovici/butterknife/contributors","subscribers_url":"https://api.github.com/repos/serj-lotutovici/butterknife/subscribers","subscription_url":"https://api.github.com/repos/serj-lotutovici/butterknife/subscription","commits_url":"https://api.github.com/repos/serj-lotutovici/butterknife/commits{/sha}","git_commits_url":"https://api.github.com/repos/serj-lotutovici/butterknife/git/commits{/sha}","comments_url":"https://api.github.com/repos/serj-lotutovici/butterknife/comments{/number}","issue_comment_url":"https://api.github.com/repos/serj-lotutovici/butterknife/issues/comments{/number}","contents_url":"https://api.github.com/repos/serj-lotutovici/butterknife/contents/{+path}","compare_url":"https://api.github.com/repos/serj-lotutovici/butterknife/compare/{base}...{head}","merges_url":"https://api.github.com/repos/serj-lotutovici/butterknife/merges","archive_url":"https://api.github.com/repos/serj-lotutovici/butterknife/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/serj-lotutovici/butterknife/downloads","issues_url":"https://api.github.com/repos/serj-lotutovici/butterknife/issues{/number}","pulls_url":"https://api.github.com/repos/serj-lotutovici/butterknife/pulls{/number}","milestones_url":"https://api.github.com/repos/serj-lotutovici/butterknife/milestones{/number}","notifications_url":"https://api.github.com/repos/serj-lotutovici/butterknife/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/serj-lotutovici/butterknife/labels{/name}","releases_url":"https://api.github.com/repos/serj-lotutovici/butterknife/releases{/id}","deployments_url":"https://api.github.com/repos/serj-lotutovici/butterknife/deployments","created_at":"2015-07-31T17:33:44Z","updated_at":"2015-07-31T17:33:44Z","pushed_at":"2015-11-24T17:04:19Z","git_url":"git://github.com/serj-lotutovici/butterknife.git","ssh_url":"git@github.com:serj-lotutovici/butterknife.git","clone_url":"https://github.com/serj-lotutovici/butterknife.git","svn_url":"https://github.com/serj-lotutovici/butterknife","homepage":"http://jakewharton.github.io/butterknife/","size":2643,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"JakeWharton:master","ref":"master","sha":"1a8e12de54a1b4fc64d8e2bebe04902e33631536","user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"repo":{"id":8575137,"name":"butterknife","full_name":"JakeWharton/butterknife","owner":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JakeWharton/butterknife","description":"View \"injection\" library for Android.","fork":false,"url":"https://api.github.com/repos/JakeWharton/butterknife","forks_url":"https://api.github.com/repos/JakeWharton/butterknife/forks","keys_url":"https://api.github.com/repos/JakeWharton/butterknife/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JakeWharton/butterknife/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JakeWharton/butterknife/teams","hooks_url":"https://api.github.com/repos/JakeWharton/butterknife/hooks","issue_events_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/events{/number}","events_url":"https://api.github.com/repos/JakeWharton/butterknife/events","assignees_url":"https://api.github.com/repos/JakeWharton/butterknife/assignees{/user}","branches_url":"https://api.github.com/repos/JakeWharton/butterknife/branches{/branch}","tags_url":"https://api.github.com/repos/JakeWharton/butterknife/tags","blobs_url":"https://api.github.com/repos/JakeWharton/butterknife/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JakeWharton/butterknife/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JakeWharton/butterknife/git/refs{/sha}","trees_url":"https://api.github.com/repos/JakeWharton/butterknife/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JakeWharton/butterknife/statuses/{sha}","languages_url":"https://api.github.com/repos/JakeWharton/butterknife/languages","stargazers_url":"https://api.github.com/repos/JakeWharton/butterknife/stargazers","contributors_url":"https://api.github.com/repos/JakeWharton/butterknife/contributors","subscribers_url":"https://api.github.com/repos/JakeWharton/butterknife/subscribers","subscription_url":"https://api.github.com/repos/JakeWharton/butterknife/subscription","commits_url":"https://api.github.com/repos/JakeWharton/butterknife/commits{/sha}","git_commits_url":"https://api.github.com/repos/JakeWharton/butterknife/git/commits{/sha}","comments_url":"https://api.github.com/repos/JakeWharton/butterknife/comments{/number}","issue_comment_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/comments{/number}","contents_url":"https://api.github.com/repos/JakeWharton/butterknife/contents/{+path}","compare_url":"https://api.github.com/repos/JakeWharton/butterknife/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JakeWharton/butterknife/merges","archive_url":"https://api.github.com/repos/JakeWharton/butterknife/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JakeWharton/butterknife/downloads","issues_url":"https://api.github.com/repos/JakeWharton/butterknife/issues{/number}","pulls_url":"https://api.github.com/repos/JakeWharton/butterknife/pulls{/number}","milestones_url":"https://api.github.com/repos/JakeWharton/butterknife/milestones{/number}","notifications_url":"https://api.github.com/repos/JakeWharton/butterknife/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JakeWharton/butterknife/labels{/name}","releases_url":"https://api.github.com/repos/JakeWharton/butterknife/releases{/id}","deployments_url":"https://api.github.com/repos/JakeWharton/butterknife/deployments","created_at":"2013-03-05T08:18:59Z","updated_at":"2016-03-04T02:11:46Z","pushed_at":"2016-03-04T02:25:05Z","git_url":"git://github.com/JakeWharton/butterknife.git","ssh_url":"git@github.com:JakeWharton/butterknife.git","clone_url":"https://github.com/JakeWharton/butterknife.git","svn_url":"https://github.com/JakeWharton/butterknife","homepage":"http://jakewharton.github.io/butterknife/","size":3214,"stargazers_count":7599,"watchers_count":7599,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1615,"mirror_url":null,"open_issues_count":39,"forks":1615,"open_issues":39,"watchers":7599,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JakeWharton/butterknife/pulls/392"},"html":{"href":"https://github.com/JakeWharton/butterknife/pull/392"},"issue":{"href":"https://api.github.com/repos/JakeWharton/butterknife/issues/392"},"comments":{"href":"https://api.github.com/repos/JakeWharton/butterknife/issues/392/comments"},"review_comments":{"href":"https://api.github.com/repos/JakeWharton/butterknife/pulls/392/comments"},"review_comment":{"href":"https://api.github.com/repos/JakeWharton/butterknife/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JakeWharton/butterknife/pulls/392/commits"},"statuses":{"href":"https://api.github.com/repos/JakeWharton/butterknife/statuses/d4c27543b67de7140af23208f62807c80d556f19"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"comments":18,"review_comments":7,"commits":1,"additions":945,"deletions":279,"changed_files":9}}