{"action":"created","issue":{"url":"https://api.github.com/repos/johncarl81/transfuse/issues/155","labels_url":"https://api.github.com/repos/johncarl81/transfuse/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/johncarl81/transfuse/issues/155/comments","events_url":"https://api.github.com/repos/johncarl81/transfuse/issues/155/events","html_url":"https://github.com/johncarl81/transfuse/issues/155","id":66484708,"number":155,"title":"Annotate activity/fragment methods as view event listeners","user":{"login":"goodsoft","id":2828228,"avatar_url":"https://avatars.githubusercontent.com/u/2828228?v=3","gravatar_id":"","url":"https://api.github.com/users/goodsoft","html_url":"https://github.com/goodsoft","followers_url":"https://api.github.com/users/goodsoft/followers","following_url":"https://api.github.com/users/goodsoft/following{/other_user}","gists_url":"https://api.github.com/users/goodsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/goodsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goodsoft/subscriptions","organizations_url":"https://api.github.com/users/goodsoft/orgs","repos_url":"https://api.github.com/users/goodsoft/repos","events_url":"https://api.github.com/users/goodsoft/events{/privacy}","received_events_url":"https://api.github.com/users/goodsoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-05T21:34:20Z","updated_at":"2015-04-05T22:19:51Z","closed_at":null,"body":"Something like this:\r\n```java\r\n@OnClick(R.id.button)\r\nvoid onClick () {\r\n    // do something\r\n}\r\n```\r\nas an equivalent to\r\n```java\r\nfindViewById(R.id.button).setOnClickListener(new View.OnClickListener () {\r\n    public void onClick (View v) {\r\n        // do something\r\n    }\r\n});\r\n```\r\n\r\nWould it be possible to implement such feature?"},"comment":{"url":"https://api.github.com/repos/johncarl81/transfuse/issues/comments/89864490","html_url":"https://github.com/johncarl81/transfuse/issues/155#issuecomment-89864490","issue_url":"https://api.github.com/repos/johncarl81/transfuse/issues/155","id":89864490,"user":{"login":"goodsoft","id":2828228,"avatar_url":"https://avatars.githubusercontent.com/u/2828228?v=3","gravatar_id":"","url":"https://api.github.com/users/goodsoft","html_url":"https://github.com/goodsoft","followers_url":"https://api.github.com/users/goodsoft/followers","following_url":"https://api.github.com/users/goodsoft/following{/other_user}","gists_url":"https://api.github.com/users/goodsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/goodsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goodsoft/subscriptions","organizations_url":"https://api.github.com/users/goodsoft/orgs","repos_url":"https://api.github.com/users/goodsoft/repos","events_url":"https://api.github.com/users/goodsoft/events{/privacy}","received_events_url":"https://api.github.com/users/goodsoft/received_events","type":"User","site_admin":false},"created_at":"2015-04-05T22:19:51Z","updated_at":"2015-04-05T22:19:51Z","body":"If I manage to understand how the thing works... :D"}}