{"action":"created","issue":{"url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/483","repository_url":"https://api.github.com/repos/mikepenz/Android-Iconics","labels_url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/483/labels{/name}","comments_url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/483/comments","events_url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/483/events","html_url":"https://github.com/mikepenz/Android-Iconics/issues/483","id":544554739,"node_id":"MDU6SXNzdWU1NDQ1NTQ3Mzk=","number":483,"title":"Problems with new Community Material","user":{"login":"rubengees","id":8021265,"node_id":"MDQ6VXNlcjgwMjEyNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/8021265?v=4","gravatar_id":"","url":"https://api.github.com/users/rubengees","html_url":"https://github.com/rubengees","followers_url":"https://api.github.com/users/rubengees/followers","following_url":"https://api.github.com/users/rubengees/following{/other_user}","gists_url":"https://api.github.com/users/rubengees/gists{/gist_id}","starred_url":"https://api.github.com/users/rubengees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubengees/subscriptions","organizations_url":"https://api.github.com/users/rubengees/orgs","repos_url":"https://api.github.com/users/rubengees/repos","events_url":"https://api.github.com/users/rubengees/events{/privacy}","received_events_url":"https://api.github.com/users/rubengees/received_events","type":"User","site_admin":false},"labels":[{"id":143749743,"node_id":"MDU6TGFiZWwxNDM3NDk3NDM=","url":"https://api.github.com/repos/mikepenz/Android-Iconics/labels/enhancement","name":"enhancement","color":"84b6eb","default":true,"description":null},{"id":143749746,"node_id":"MDU6TGFiZWwxNDM3NDk3NDY=","url":"https://api.github.com/repos/mikepenz/Android-Iconics/labels/question","name":"question","color":"cc317c","default":true,"description":null}],"state":"open","locked":false,"assignee":{"login":"mikepenz","id":1476232,"node_id":"MDQ6VXNlcjE0NzYyMzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1476232?v=4","gravatar_id":"","url":"https://api.github.com/users/mikepenz","html_url":"https://github.com/mikepenz","followers_url":"https://api.github.com/users/mikepenz/followers","following_url":"https://api.github.com/users/mikepenz/following{/other_user}","gists_url":"https://api.github.com/users/mikepenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepenz/subscriptions","organizations_url":"https://api.github.com/users/mikepenz/orgs","repos_url":"https://api.github.com/users/mikepenz/repos","events_url":"https://api.github.com/users/mikepenz/events{/privacy}","received_events_url":"https://api.github.com/users/mikepenz/received_events","type":"User","site_admin":false},"assignees":[{"login":"mikepenz","id":1476232,"node_id":"MDQ6VXNlcjE0NzYyMzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1476232?v=4","gravatar_id":"","url":"https://api.github.com/users/mikepenz","html_url":"https://github.com/mikepenz","followers_url":"https://api.github.com/users/mikepenz/followers","following_url":"https://api.github.com/users/mikepenz/following{/other_user}","gists_url":"https://api.github.com/users/mikepenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepenz/subscriptions","organizations_url":"https://api.github.com/users/mikepenz/orgs","repos_url":"https://api.github.com/users/mikepenz/repos","events_url":"https://api.github.com/users/mikepenz/events{/privacy}","received_events_url":"https://api.github.com/users/mikepenz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2020-01-02T12:11:04Z","updated_at":"2020-01-02T12:31:12Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I experience problems with the latest Community Material typeface (`3.7.95.1-kotlin`). I use the typesafe icons in my code, for example `CommunityMaterial.Icon.cmd_fullscreen_exit`.\r\n\r\nThe latest version now has 4 of such enums (`Icon`, `Icon2`, `Icon3`, `Icon4`), which makes individual icons really hard to discover. For example if I want the fullscreen icon, I would start to type `Icon.fullscreen` in my IDE and expect autocomplete to show me the available icons. This is now really tedious, because you need to try all 4 enums. I also had great personal pain just now, because I needed to update 100+ usage in my project, where the containing enum changed and I basically had to try all 4 variants :/.\r\n\r\nAnother thing is this bug: `getIcon` only checks the first 2 enums and fails to find icons which are in the other two. I use `cmd_filter_variant` in my toolbar with the `IconicsMenuInflaterUtil` and that does not work anymore.\r\n\r\nCan we revert this to at most two enums? Or if we really have to, use some categories as names at least?"},"comment":{"url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/comments/570194517","html_url":"https://github.com/mikepenz/Android-Iconics/issues/483#issuecomment-570194517","issue_url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/483","id":570194517,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MDE5NDUxNw==","user":{"login":"zTrap","id":18091396,"node_id":"MDQ6VXNlcjE4MDkxMzk2","avatar_url":"https://avatars2.githubusercontent.com/u/18091396?v=4","gravatar_id":"","url":"https://api.github.com/users/zTrap","html_url":"https://github.com/zTrap","followers_url":"https://api.github.com/users/zTrap/followers","following_url":"https://api.github.com/users/zTrap/following{/other_user}","gists_url":"https://api.github.com/users/zTrap/gists{/gist_id}","starred_url":"https://api.github.com/users/zTrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zTrap/subscriptions","organizations_url":"https://api.github.com/users/zTrap/orgs","repos_url":"https://api.github.com/users/zTrap/repos","events_url":"https://api.github.com/users/zTrap/events{/privacy}","received_events_url":"https://api.github.com/users/zTrap/received_events","type":"User","site_admin":false},"created_at":"2020-01-02T12:31:12Z","updated_at":"2020-01-02T12:31:12Z","author_association":"COLLABORATOR","body":"@mikepenz Actually, in the next major version, we can refuse to use enums for static fields and create icon instances, as in the Generic font."}}
{"actor":{"display_login":"zTrap"}}