{"action":"closed","issue":{"url":"https://api.github.com/repos/JakeWharton/butterknife/issues/268","labels_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/268/comments","events_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/268/events","html_url":"https://github.com/JakeWharton/butterknife/issues/268","id":82326147,"number":268,"title":"Add  ButterKnife.inject(this); in BaseActivity instance of each child activity.","user":{"login":"sanjaykakadiya","id":12592286,"avatar_url":"https://avatars.githubusercontent.com/u/12592286?v=3","gravatar_id":"","url":"https://api.github.com/users/sanjaykakadiya","html_url":"https://github.com/sanjaykakadiya","followers_url":"https://api.github.com/users/sanjaykakadiya/followers","following_url":"https://api.github.com/users/sanjaykakadiya/following{/other_user}","gists_url":"https://api.github.com/users/sanjaykakadiya/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjaykakadiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjaykakadiya/subscriptions","organizations_url":"https://api.github.com/users/sanjaykakadiya/orgs","repos_url":"https://api.github.com/users/sanjaykakadiya/repos","events_url":"https://api.github.com/users/sanjaykakadiya/events{/privacy}","received_events_url":"https://api.github.com/users/sanjaykakadiya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-29T08:15:42Z","updated_at":"2015-05-29T09:18:09Z","closed_at":"2015-05-29T09:18:09Z","body":"Hi,\r\n\r\nI want to Add  ButterKnife.inject(this); in BaseActivity like this.\r\n\r\npublic class BaseActivity extends ActionBarActivity {\r\n   @Override\r\n    protected void onCreate(Bundle savedInstanceState) {\r\n        super.onCreate(savedInstanceState);\r\n        ButterKnife.inject(this);\r\n    }\r\n}\r\n\r\nand use it in child activity like\r\n\r\npublic class TestActivity extends BaseActivity {\r\n\r\n    @InjectView(R.id.lv_bom)\r\n    ListView lvTest;\r\n\r\n   @Override\r\n    protected void onCreate(Bundle savedInstanceState) {\r\n        super.onCreate(savedInstanceState);\r\n        setContentView(R.layout.activity_bomconfiguration_list);\r\n\r\n        lvTest.setAdapter(adpter);\r\n    }\r\n}\r\n\r\nHow can I use ButterKnife in this case.\r\nI don't want add ButterKnife.inject(this); in all activity."}}