{"action":"closed","issue":{"url":"https://api.github.com/repos/JakeWharton/butterknife/issues/295","labels_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/295/comments","events_url":"https://api.github.com/repos/JakeWharton/butterknife/issues/295/events","html_url":"https://github.com/JakeWharton/butterknife/issues/295","id":93244678,"number":295,"title":"Use @OnItemSelected for onNavigationItemSelected?","user":{"login":"basememara","id":892152,"avatar_url":"https://avatars.githubusercontent.com/u/892152?v=3","gravatar_id":"","url":"https://api.github.com/users/basememara","html_url":"https://github.com/basememara","followers_url":"https://api.github.com/users/basememara/followers","following_url":"https://api.github.com/users/basememara/following{/other_user}","gists_url":"https://api.github.com/users/basememara/gists{/gist_id}","starred_url":"https://api.github.com/users/basememara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basememara/subscriptions","organizations_url":"https://api.github.com/users/basememara/orgs","repos_url":"https://api.github.com/users/basememara/repos","events_url":"https://api.github.com/users/basememara/events{/privacy}","received_events_url":"https://api.github.com/users/basememara/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-06T10:33:19Z","updated_at":"2015-07-06T16:02:14Z","closed_at":"2015-07-06T16:02:14Z","body":"I have a listener for my navigation selections and wondering if Butter Knife can handle the below code? I tried @OnItemSelect annotation but crashed the app. Is this possible with Butter Knife?\r\n```\r\nNavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);\r\n\r\nnavigationView.setNavigationItemSelectedListener(\r\n        new NavigationView.OnNavigationItemSelectedListener() {\r\n            @Override\r\n            public boolean onNavigationItemSelected(MenuItem menuItem) {\r\n                menuItem.setChecked(true);\r\n                mDrawerLayout.closeDrawers();\r\n\r\n                switch (menuItem.getItemId()) {\r\n                    case R.id.nav_home: {\r\n                        ...\r\n                        return true;\r\n                    }\r\n                    case R.id.nav_about: {\r\n                        ..\r\n                        return true;\r\n                    }\r\n                    case R.id.nav_disclaimer: {\r\n                        ...\r\n                        return true;\r\n                    }\r\n                    case R.id.nav_tell_friend: {\r\n                        ...\r\n                        return true;\r\n                    }\r\n                }\r\n\r\n                return true;\r\n            }\r\n        });\r\n```"}}