{"action":"created","issue":{"url":"https://api.github.com/repos/JakeWharton/butterknife/issues/630","repository_url":"https://api.github.com/repos/JakeWharton/butterknife","labels_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/630/labels{/name}","comments_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/630/comments","events_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/630/events","html_url":"https://github.com/JakeWharton/butterknife/issues/630","id":161151620,"number":630,"title":"Inheritance in fragments & ButterKnife","user":{"login":"alejandro-pnz","id":13298711,"avatar_url":"https://avatars.githubusercontent.com/u/13298711?v=3","gravatar_id":"","url":"https://api.github.com/users/alejandro-pnz","html_url":"https://github.com/alejandro-pnz","followers_url":"https://api.github.com/users/alejandro-pnz/followers","following_url":"https://api.github.com/users/alejandro-pnz/following{/other_user}","gists_url":"https://api.github.com/users/alejandro-pnz/gists{/gist_id}","starred_url":"https://api.github.com/users/alejandro-pnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejandro-pnz/subscriptions","organizations_url":"https://api.github.com/users/alejandro-pnz/orgs","repos_url":"https://api.github.com/users/alejandro-pnz/repos","events_url":"https://api.github.com/users/alejandro-pnz/events{/privacy}","received_events_url":"https://api.github.com/users/alejandro-pnz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-20T09:20:34Z","updated_at":"2016-07-06T22:36:30Z","closed_at":null,"body":"I have a question about Fragment inheritance. For example, I have an BaseFragment with some binded views. Also, I have an ExtendedBaseFragment, which also has his own binded views. It is correct to unbind only in parent class (BaseFragment) or not? In this situation, in onDestroyView() unbinder is already is null. Why?\r\n"},"comment":{"url":"https://api.github.com/repos/JakeWharton/butterknife/issues/comments/230927960","html_url":"https://github.com/JakeWharton/butterknife/issues/630#issuecomment-230927960","issue_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/630","id":230927960,"user":{"login":"GuyDavis90","id":3461538,"avatar_url":"https://avatars.githubusercontent.com/u/3461538?v=3","gravatar_id":"","url":"https://api.github.com/users/GuyDavis90","html_url":"https://github.com/GuyDavis90","followers_url":"https://api.github.com/users/GuyDavis90/followers","following_url":"https://api.github.com/users/GuyDavis90/following{/other_user}","gists_url":"https://api.github.com/users/GuyDavis90/gists{/gist_id}","starred_url":"https://api.github.com/users/GuyDavis90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuyDavis90/subscriptions","organizations_url":"https://api.github.com/users/GuyDavis90/orgs","repos_url":"https://api.github.com/users/GuyDavis90/repos","events_url":"https://api.github.com/users/GuyDavis90/events{/privacy}","received_events_url":"https://api.github.com/users/GuyDavis90/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T22:36:30Z","updated_at":"2016-07-06T22:36:30Z","body":"Can't they both go into the superclass?\r\nMy understanding was that it would still call the subclass unbind through the magic of reflection.\r\nI'm still using an older version of ButterKnife in my current project but it seems to be calling the subclasses unbind functions (not using an Unbinder, but rather using the ButterKnife.unbind function)."}}
{"actor":{"display_login":"GuyDavis90"}}