{"action":"closed","issue":{"url":"https://api.github.com/repos/afollestad/material-cab/issues/13","repository_url":"https://api.github.com/repos/afollestad/material-cab","labels_url":"https://api.github.com/repos/afollestad/material-cab/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/afollestad/material-cab/issues/13/comments","events_url":"https://api.github.com/repos/afollestad/material-cab/issues/13/events","html_url":"https://github.com/afollestad/material-cab/issues/13","id":155204583,"number":13,"title":"How do I use it if I am using View.OnClickListener within ViewHolder?","user":{"login":"salvator91","id":8385045,"avatar_url":"https://avatars.githubusercontent.com/u/8385045?v=3","gravatar_id":"","url":"https://api.github.com/users/salvator91","html_url":"https://github.com/salvator91","followers_url":"https://api.github.com/users/salvator91/followers","following_url":"https://api.github.com/users/salvator91/following{/other_user}","gists_url":"https://api.github.com/users/salvator91/gists{/gist_id}","starred_url":"https://api.github.com/users/salvator91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salvator91/subscriptions","organizations_url":"https://api.github.com/users/salvator91/orgs","repos_url":"https://api.github.com/users/salvator91/repos","events_url":"https://api.github.com/users/salvator91/events{/privacy}","received_events_url":"https://api.github.com/users/salvator91/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-17T08:37:46Z","updated_at":"2016-05-17T15:54:07Z","closed_at":"2016-05-17T15:54:07Z","body":"In your examples View.OnClickListener is within adapter. But I am using View OnClickListener with Viewolder that is in a separate file. Further I am using fragments within ViewPager and eac of these fragments contain recyclerview. \r\n\r\nPlease give a simple outline of how to proceed before you close this issue, as this is not exactly an issue but a question.\r\n"}}