{"action":"created","issue":{"url":"https://api.github.com/repos/excilys/androidannotations/issues/1162","labels_url":"https://api.github.com/repos/excilys/androidannotations/issues/1162/labels{/name}","comments_url":"https://api.github.com/repos/excilys/androidannotations/issues/1162/comments","events_url":"https://api.github.com/repos/excilys/androidannotations/issues/1162/events","html_url":"https://github.com/excilys/androidannotations/pull/1162","id":43751711,"number":1162,"title":"Annotation helpers for PreferenceActivity and PreferenceFragment","user":{"login":"WonderCsabo","id":480485,"avatar_url":"https://avatars.githubusercontent.com/u/480485?v=3","gravatar_id":"","url":"https://api.github.com/users/WonderCsabo","html_url":"https://github.com/WonderCsabo","followers_url":"https://api.github.com/users/WonderCsabo/followers","following_url":"https://api.github.com/users/WonderCsabo/following{/other_user}","gists_url":"https://api.github.com/users/WonderCsabo/gists{/gist_id}","starred_url":"https://api.github.com/users/WonderCsabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WonderCsabo/subscriptions","organizations_url":"https://api.github.com/users/WonderCsabo/orgs","repos_url":"https://api.github.com/users/WonderCsabo/repos","events_url":"https://api.github.com/users/WonderCsabo/events{/privacy}","received_events_url":"https://api.github.com/users/WonderCsabo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/excilys/androidannotations/labels/WikiUpdateNeeded","name":"WikiUpdateNeeded","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"yDelouis","id":1778105,"avatar_url":"https://avatars.githubusercontent.com/u/1778105?v=3","gravatar_id":"","url":"https://api.github.com/users/yDelouis","html_url":"https://github.com/yDelouis","followers_url":"https://api.github.com/users/yDelouis/followers","following_url":"https://api.github.com/users/yDelouis/following{/other_user}","gists_url":"https://api.github.com/users/yDelouis/gists{/gist_id}","starred_url":"https://api.github.com/users/yDelouis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yDelouis/subscriptions","organizations_url":"https://api.github.com/users/yDelouis/orgs","repos_url":"https://api.github.com/users/yDelouis/repos","events_url":"https://api.github.com/users/yDelouis/events{/privacy}","received_events_url":"https://api.github.com/users/yDelouis/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/excilys/androidannotations/milestones/13","html_url":"https://github.com/excilys/androidannotations/milestones/3.3","labels_url":"https://api.github.com/repos/excilys/androidannotations/milestones/13/labels","id":860499,"number":13,"title":"3.3","description":null,"creator":{"login":"yDelouis","id":1778105,"avatar_url":"https://avatars.githubusercontent.com/u/1778105?v=3","gravatar_id":"","url":"https://api.github.com/users/yDelouis","html_url":"https://github.com/yDelouis","followers_url":"https://api.github.com/users/yDelouis/followers","following_url":"https://api.github.com/users/yDelouis/following{/other_user}","gists_url":"https://api.github.com/users/yDelouis/gists{/gist_id}","starred_url":"https://api.github.com/users/yDelouis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yDelouis/subscriptions","organizations_url":"https://api.github.com/users/yDelouis/orgs","repos_url":"https://api.github.com/users/yDelouis/repos","events_url":"https://api.github.com/users/yDelouis/events{/privacy}","received_events_url":"https://api.github.com/users/yDelouis/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":39,"state":"open","created_at":"2014-11-10T18:27:31Z","updated_at":"2015-04-28T16:39:08Z","due_on":null,"closed_at":null},"comments":41,"created_at":"2014-09-24T11:03:24Z","updated_at":"2015-04-30T07:49:24Z","closed_at":"2015-04-25T16:14:23Z","pull_request":{"url":"https://api.github.com/repos/excilys/androidannotations/pulls/1162","html_url":"https://github.com/excilys/androidannotations/pull/1162","diff_url":"https://github.com/excilys/androidannotations/pull/1162.diff","patch_url":"https://github.com/excilys/androidannotations/pull/1162.patch"},"body":"This PR is a WIP, and related to #7.\r\n\r\nI decided to use resource IDs instead of plain string preference keys in the annotations, since this is the suggested way (if you use a string resource as a key, you can use it both  in java and xml). Also the implementation is easier, since we can rely on existing concepts.\r\n\r\nThe implementation is basically the same as View injection/listener. Currently there is some code duplication, but i am not sure we should remove that, because it would really obfuscate the intent of the code. But i gladly accept suggestions on that.\r\n\r\n@yDelouis, @DayS, @dodgex i would appreciate your feedback."},"comment":{"url":"https://api.github.com/repos/excilys/androidannotations/issues/comments/97696268","html_url":"https://github.com/excilys/androidannotations/pull/1162#issuecomment-97696268","issue_url":"https://api.github.com/repos/excilys/androidannotations/issues/1162","id":97696268,"user":{"login":"WonderCsabo","id":480485,"avatar_url":"https://avatars.githubusercontent.com/u/480485?v=3","gravatar_id":"","url":"https://api.github.com/users/WonderCsabo","html_url":"https://github.com/WonderCsabo","followers_url":"https://api.github.com/users/WonderCsabo/followers","following_url":"https://api.github.com/users/WonderCsabo/following{/other_user}","gists_url":"https://api.github.com/users/WonderCsabo/gists{/gist_id}","starred_url":"https://api.github.com/users/WonderCsabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WonderCsabo/subscriptions","organizations_url":"https://api.github.com/users/WonderCsabo/orgs","repos_url":"https://api.github.com/users/WonderCsabo/repos","events_url":"https://api.github.com/users/WonderCsabo/events{/privacy}","received_events_url":"https://api.github.com/users/WonderCsabo/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T07:49:24Z","updated_at":"2015-04-30T07:49:24Z","body":"`@PreferenceChange` is [passing](https://github.com/excilys/androidannotations/blob/develop/AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations/PreferenceChange.java#L64) you the new value."}}