{"action":"created","issue":{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1312","repository_url":"https://api.github.com/repos/mikepenz/MaterialDrawer","labels_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1312/labels{/name}","comments_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1312/comments","events_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1312/events","html_url":"https://github.com/mikepenz/MaterialDrawer/issues/1312","id":157892876,"number":1312,"title":"How to add  Shopping cart icon with notification ","user":{"login":"zeeshan4971","id":11049979,"avatar_url":"https://avatars.githubusercontent.com/u/11049979?v=3","gravatar_id":"","url":"https://api.github.com/users/zeeshan4971","html_url":"https://github.com/zeeshan4971","followers_url":"https://api.github.com/users/zeeshan4971/followers","following_url":"https://api.github.com/users/zeeshan4971/following{/other_user}","gists_url":"https://api.github.com/users/zeeshan4971/gists{/gist_id}","starred_url":"https://api.github.com/users/zeeshan4971/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeeshan4971/subscriptions","organizations_url":"https://api.github.com/users/zeeshan4971/orgs","repos_url":"https://api.github.com/users/zeeshan4971/repos","events_url":"https://api.github.com/users/zeeshan4971/events{/privacy}","received_events_url":"https://api.github.com/users/zeeshan4971/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"mikepenz","id":1476232,"avatar_url":"https://avatars.githubusercontent.com/u/1476232?v=3","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":"2016-06-01T12:20:01Z","updated_at":"2016-06-02T11:46:36Z","closed_at":"2016-06-01T12:29:09Z","body":"http://i.stack.imgur.com/aYUQl.jpg\r\nI am using your Material Drawer library \r\n"},"comment":{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/comments/223268390","html_url":"https://github.com/mikepenz/MaterialDrawer/issues/1312#issuecomment-223268390","issue_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1312","id":223268390,"user":{"login":"zeeshan4971","id":11049979,"avatar_url":"https://avatars.githubusercontent.com/u/11049979?v=3","gravatar_id":"","url":"https://api.github.com/users/zeeshan4971","html_url":"https://github.com/zeeshan4971","followers_url":"https://api.github.com/users/zeeshan4971/followers","following_url":"https://api.github.com/users/zeeshan4971/following{/other_user}","gists_url":"https://api.github.com/users/zeeshan4971/gists{/gist_id}","starred_url":"https://api.github.com/users/zeeshan4971/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeeshan4971/subscriptions","organizations_url":"https://api.github.com/users/zeeshan4971/orgs","repos_url":"https://api.github.com/users/zeeshan4971/repos","events_url":"https://api.github.com/users/zeeshan4971/events{/privacy}","received_events_url":"https://api.github.com/users/zeeshan4971/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T11:46:36Z","updated_at":"2016-06-02T11:46:36Z","body":"i included your library and using \r\n@Override\r\npublic boolean onCreateOptionsMenu(Menu menu){\r\n  Log.i(\"test\",\"test log\");\r\n\r\n        // Inflate the menu; this adds items to the action bar if it is present.\r\n        getMenuInflater().inflate(R.menu.menu, menu);\r\n\r\n        if (badgeCount == 0) {\r\n            ActionItemBadge.hide(menu.findItem(R.id.item_samplebadge));\r\n        } else {\r\n            ActionItemBadge.update(this, menu.findItem(R.id.item_samplebadge), FontAwesome.Icon.faw_android, style, badgeCount);\r\n        }\r\n        if (badgeDrawableCount == 0) {\r\n            ActionItemBadge.hide(menu.findItem(R.id.item_sampleBadge_drawable));\r\n        } else {\r\n            ActionItemBadge.update(this, menu.findItem(R.id.item_sampleBadge_drawable), UIUtil.getCompatDrawable(this, R.drawable.ic_notification), style, NumberUtils.formatNumber(badgeDrawableCount));\r\n        }\r\n        new ActionItemBadgeAdder().act(this).menu(menu).title(\"Sample\").itemDetails(0, SAMPLE2_ID, 1).showAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS).add(bigStyle, 1);\r\n        return true;\r\n    }\r\n\r\non the activity i want the icon to appear on it and i does not show any error my app compiles but there are no errors in them. what should i do\r\n\r\n"}}
{"actor":{"display_login":"zeeshan4971"}}