{"action":"created","issue":{"url":"https://api.github.com/repos/excilys/androidannotations/issues/1449","labels_url":"https://api.github.com/repos/excilys/androidannotations/issues/1449/labels{/name}","comments_url":"https://api.github.com/repos/excilys/androidannotations/issues/1449/comments","events_url":"https://api.github.com/repos/excilys/androidannotations/issues/1449/events","html_url":"https://github.com/excilys/androidannotations/issues/1449","id":85681094,"number":1449,"title":"Executing custom code with an annotation","user":{"login":"n0k","id":5841698,"avatar_url":"https://avatars.githubusercontent.com/u/5841698?v=3","gravatar_id":"","url":"https://api.github.com/users/n0k","html_url":"https://github.com/n0k","followers_url":"https://api.github.com/users/n0k/followers","following_url":"https://api.github.com/users/n0k/following{/other_user}","gists_url":"https://api.github.com/users/n0k/gists{/gist_id}","starred_url":"https://api.github.com/users/n0k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n0k/subscriptions","organizations_url":"https://api.github.com/users/n0k/orgs","repos_url":"https://api.github.com/users/n0k/repos","events_url":"https://api.github.com/users/n0k/events{/privacy}","received_events_url":"https://api.github.com/users/n0k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-06T02:34:43Z","updated_at":"2015-06-06T05:25:22Z","closed_at":null,"body":"Hi,\r\n\r\nI was wondering if it is possible to execute custom code for an annotation e.g. a custom method in onCreate of an Activity. Is there a way to do this with the 3.3.1 release or would a custom annotation need to be written for this?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/excilys/androidannotations/issues/comments/109530917","html_url":"https://github.com/excilys/androidannotations/issues/1449#issuecomment-109530917","issue_url":"https://api.github.com/repos/excilys/androidannotations/issues/1449","id":109530917,"user":{"login":"dodgex","id":204013,"avatar_url":"https://avatars.githubusercontent.com/u/204013?v=3","gravatar_id":"","url":"https://api.github.com/users/dodgex","html_url":"https://github.com/dodgex","followers_url":"https://api.github.com/users/dodgex/followers","following_url":"https://api.github.com/users/dodgex/following{/other_user}","gists_url":"https://api.github.com/users/dodgex/gists{/gist_id}","starred_url":"https://api.github.com/users/dodgex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodgex/subscriptions","organizations_url":"https://api.github.com/users/dodgex/orgs","repos_url":"https://api.github.com/users/dodgex/repos","events_url":"https://api.github.com/users/dodgex/events{/privacy}","received_events_url":"https://api.github.com/users/dodgex/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T05:25:22Z","updated_at":"2015-06-06T05:25:22Z","body":"I think you want to use something like [`@AfterInject`](https://github.com/excilys/androidannotations/wiki/Injecting-Views#afterviews) or [`@AfterViews`](https://github.com/excilys/androidannotations/wiki/Enhance-custom-classes#executing-code-after-dependency-injection)"}}