{"action":"created","issue":{"url":"https://api.github.com/repos/googlesamples/android-topeka/issues/67","labels_url":"https://api.github.com/repos/googlesamples/android-topeka/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/googlesamples/android-topeka/issues/67/comments","events_url":"https://api.github.com/repos/googlesamples/android-topeka/issues/67/events","html_url":"https://github.com/googlesamples/android-topeka/issues/67","id":120219033,"number":67,"title":"Use of enum for Avatar class.","user":{"login":"IgorGanapolsky","id":201209,"avatar_url":"https://avatars.githubusercontent.com/u/201209?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorGanapolsky","html_url":"https://github.com/IgorGanapolsky","followers_url":"https://api.github.com/users/IgorGanapolsky/followers","following_url":"https://api.github.com/users/IgorGanapolsky/following{/other_user}","gists_url":"https://api.github.com/users/IgorGanapolsky/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorGanapolsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorGanapolsky/subscriptions","organizations_url":"https://api.github.com/users/IgorGanapolsky/orgs","repos_url":"https://api.github.com/users/IgorGanapolsky/repos","events_url":"https://api.github.com/users/IgorGanapolsky/events{/privacy}","received_events_url":"https://api.github.com/users/IgorGanapolsky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/googlesamples/android-topeka/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-03T16:50:13Z","updated_at":"2015-12-03T17:25:06Z","closed_at":"2015-12-03T17:07:13Z","body":"Hello,\r\nI am wondering why you chose to use `enum` type for drawables in Avatar.java.  According to Google's best practices for Android, enums are more memory hungry than TypeDefs at runtime.  So wouldn't it be more prudent to use `@DrawableRes` as described here: http://tools.android.com/tech-docs/support-annotations?\r\n\r\nThanks,\r\nIgor"},"comment":{"url":"https://api.github.com/repos/googlesamples/android-topeka/issues/comments/161722692","html_url":"https://github.com/googlesamples/android-topeka/issues/67#issuecomment-161722692","issue_url":"https://api.github.com/repos/googlesamples/android-topeka/issues/67","id":161722692,"user":{"login":"keyboardsurfer","id":336005,"avatar_url":"https://avatars.githubusercontent.com/u/336005?v=3","gravatar_id":"","url":"https://api.github.com/users/keyboardsurfer","html_url":"https://github.com/keyboardsurfer","followers_url":"https://api.github.com/users/keyboardsurfer/followers","following_url":"https://api.github.com/users/keyboardsurfer/following{/other_user}","gists_url":"https://api.github.com/users/keyboardsurfer/gists{/gist_id}","starred_url":"https://api.github.com/users/keyboardsurfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyboardsurfer/subscriptions","organizations_url":"https://api.github.com/users/keyboardsurfer/orgs","repos_url":"https://api.github.com/users/keyboardsurfer/repos","events_url":"https://api.github.com/users/keyboardsurfer/events{/privacy}","received_events_url":"https://api.github.com/users/keyboardsurfer/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T17:25:06Z","updated_at":"2015-12-03T17:25:06Z","body":"The Android Framework team's most recent [fireside chat](https://youtu.be/-VNfWh5UkfY?t=958) has some great insights in that."}}