{"action":"created","issue":{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/188","repository_url":"https://api.github.com/repos/mikepenz/MaterialDrawer","labels_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/188/comments","events_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/188/events","html_url":"https://github.com/mikepenz/MaterialDrawer/issues/188","id":66484251,"number":188,"title":"Error with internet url in withIcon() function","user":{"login":"Remie-l","id":1769696,"avatar_url":"https://avatars.githubusercontent.com/u/1769696?v=3","gravatar_id":"","url":"https://api.github.com/users/Remie-l","html_url":"https://github.com/Remie-l","followers_url":"https://api.github.com/users/Remie-l/followers","following_url":"https://api.github.com/users/Remie-l/following{/other_user}","gists_url":"https://api.github.com/users/Remie-l/gists{/gist_id}","starred_url":"https://api.github.com/users/Remie-l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Remie-l/subscriptions","organizations_url":"https://api.github.com/users/Remie-l/orgs","repos_url":"https://api.github.com/users/Remie-l/repos","events_url":"https://api.github.com/users/Remie-l/events{/privacy}","received_events_url":"https://api.github.com/users/Remie-l/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":8,"created_at":"2015-04-05T21:31:50Z","updated_at":"2016-06-09T09:25:11Z","closed_at":"2015-04-06T15:49:12Z","body":"Url valid.\r\nIn avatar area shown default image.\r\n\r\nOffline mode turned off.\r\n\r\ndependency:\r\n```\r\ncompile('com.mikepenz.materialdrawer:library:2.7.0@aar') {\r\n        transitive = true\r\n    }\r\n```\r\n\r\nCode:\r\n```\r\nString userPic = \"http://.......\"\r\nIProfile profile = new ProfileDrawerItem().withName(\"Mike Penz\").withEmail(\"mikepenz@gmail.com\").withIcon(userPic);\r\n\r\nheaderResult = new AccountHeader()\r\n                .withActivity(this)\r\n                .withHeaderBackground(R.drawable.user_bg_light)\r\n                .addProfiles(profile)\r\n                .withOnAccountHeaderListener(new AccountHeader.OnAccountHeaderListener() {\r\n                    @Override\r\n                    public boolean onProfileChanged(View view, IProfile profile, boolean currentProfile) {\r\n                        return false;\r\n                    }\r\n                })\r\n                .build();\r\n```\r\n\r\nlogcat:\r\n```\r\nCould not find class 'com.mikepenz.materialdrawer.view.BezelImageView$CustomOutline', referenced from method com.mikepenz.materialdrawer.view.BezelImageView.onSizeChanged\r\nW/dalvikvm﹕ VFY: unable to resolve new-instance 2793 (Lcom/mikepenz/materialdrawer/view/BezelImageView$CustomOutline;) in Lcom/mikepenz/materialdrawer/view/BezelImageView;\r\nD/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0006\r\nW/dalvikvm﹕ Unable to resolve superclass of Lcom/mikepenz/materialdrawer/view/BezelImageView$CustomOutline; (1580)\r\nW/dalvikvm﹕ Link of class 'Lcom/mikepenz/materialdrawer/view/BezelImageView$CustomOutline;' failed\r\nD/dalvikvm﹕ DexOpt: unable to opt direct call 0x62f4 at 0x08 in Lcom/mikepenz/materialdrawer/view/BezelImageView;.onSizeChanged\r\nI/dalvikvm﹕ Could not find method android.content.res.Resources.getDrawable, referenced from method com.mikepenz.materialdrawer.util.UIUtils.getCompatDrawable\r\nW/dalvikvm﹕ VFY: unable to resolve virtual method 478: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;\r\nD/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0018\r\nD/dalvikvm﹕ GC_FOR_ALLOC freed 209K, 3% free 11123K/11463K, paused 57ms, total 59ms\r\nI/dalvikvm-heap﹕ Grow heap (frag case) to 11.221MB for 298012-byte allocation\r\nD/dalvikvm﹕ GC_FOR_ALLOC freed 3K, 4% free 11411K/11783K, paused 24ms, total 24ms\r\nD/dalvikvm﹕ GC_FOR_ALLOC freed 25K, 4% free 11388K/11783K, paused 117ms, total 117ms\r\nI/dalvikvm-heap﹕ Grow heap (frag case) to 12.332MB for 1192012-byte allocation\r\nD/dalvikvm﹕ GC_FOR_ALLOC freed <1K, 4% free 12552K/12999K, paused 23ms, total 23ms\r\nD/dalvikvm﹕ GC_CONCURRENT freed 0K, 4% free 12552K/12999K, paused 13ms+13ms, total 29ms\r\nI/MaterialDrawer﹕ you have not specified a ImageLoader implementation through the DrawerImageLoader.init(IDrawerImageLoader) method\r\nI/dalvikvm﹕ Could not find method android.support.v4.widget.DrawerLayout$LayoutParams.setMarginEnd, referenced from method com.mikepenz.materialdrawer.Drawer.processDrawerLayoutParams\r\nW/dalvikvm﹕ VFY: unable to resolve virtual method 7419: Landroid/support/v4/widget/DrawerLayout$LayoutParams;.setMarginEnd (I)V\r\nD/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0023\r\nI/dalvikvm﹕ Could not find method android.support.v4.widget.DrawerLayout$LayoutParams.setMarginEnd, referenced from method com.mikepenz.materialdrawer.Drawer.processDrawerLayoutParams\r\nW/dalvikvm﹕ VFY: unable to resolve virtual method 7419: Landroid/support/v4/widget/DrawerLayout$LayoutParams;.setMarginEnd (I)V\r\nD/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0044\r\nI/dalvikvm﹕ Could not find method android.view.Window.setStatusBarColor, referenced from method com.mikepenz.materialdrawer.Drawer.build\r\nW/dalvikvm﹕ VFY: unable to resolve virtual method 14013: Landroid/view/Window;.setStatusBarColor (I)V\r\nD/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0073\r\n```"},"comment":{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/comments/224843987","html_url":"https://github.com/mikepenz/MaterialDrawer/issues/188#issuecomment-224843987","issue_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/188","id":224843987,"user":{"login":"PutraJuke","id":15225471,"avatar_url":"https://avatars.githubusercontent.com/u/15225471?v=3","gravatar_id":"","url":"https://api.github.com/users/PutraJuke","html_url":"https://github.com/PutraJuke","followers_url":"https://api.github.com/users/PutraJuke/followers","following_url":"https://api.github.com/users/PutraJuke/following{/other_user}","gists_url":"https://api.github.com/users/PutraJuke/gists{/gist_id}","starred_url":"https://api.github.com/users/PutraJuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PutraJuke/subscriptions","organizations_url":"https://api.github.com/users/PutraJuke/orgs","repos_url":"https://api.github.com/users/PutraJuke/repos","events_url":"https://api.github.com/users/PutraJuke/events{/privacy}","received_events_url":"https://api.github.com/users/PutraJuke/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T09:25:11Z","updated_at":"2016-06-09T09:25:11Z","body":"@mikepenz sorry, i mean the profile photo imageview not headerbackground. i want to change  profile photo with load url."}}
{"actor":{"display_login":"PutraJuke"}}