{"action":"created","issue":{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/905","labels_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/905/labels{/name}","comments_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/905/comments","events_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/905/events","html_url":"https://github.com/mikepenz/MaterialDrawer/issues/905","id":124310889,"number":905,"title":"Shouldn't withPadding* be chainable?","user":{"login":"uzegonemad","id":430255,"avatar_url":"https://avatars.githubusercontent.com/u/430255?v=3","gravatar_id":"","url":"https://api.github.com/users/uzegonemad","html_url":"https://github.com/uzegonemad","followers_url":"https://api.github.com/users/uzegonemad/followers","following_url":"https://api.github.com/users/uzegonemad/following{/other_user}","gists_url":"https://api.github.com/users/uzegonemad/gists{/gist_id}","starred_url":"https://api.github.com/users/uzegonemad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uzegonemad/subscriptions","organizations_url":"https://api.github.com/users/uzegonemad/orgs","repos_url":"https://api.github.com/users/uzegonemad/repos","events_url":"https://api.github.com/users/uzegonemad/events{/privacy}","received_events_url":"https://api.github.com/users/uzegonemad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-30T06:38:44Z","updated_at":"2015-12-30T12:07:58Z","closed_at":null,"body":"I did a quick search but couldn't find an answer, so apologies if this has been asked before.\r\n\r\nWhen adding a badge style, all of the padding methods return void but shouldn't they return the BadgeStyle object for chaining purposes?\r\n\r\nI'm having to do this:\r\n\r\n```java\r\nBadgeStyle badgeStyle = new BadgeStyle()\r\n        .withColorRes(R.color.badgeColor)\r\n        .withTextColor(Color.WHITE)\r\n        .withCornersDp(999);\r\n\r\nbadgeStyle.withPaddingLeftRightDp(3);\r\nbadgeStyle.withPaddingTopBottomDp(3);\r\n```\r\n\r\nBut would prefer to do this:\r\n\r\n```java\r\nBadgeStyle badgeStyle = new BadgeStyle()\r\n        .withColorRes(R.color.badgeColor)\r\n        .withTextColor(Color.WHITE)\r\n        .withCornersDp(999)\r\n        .withPaddingLeftRightDp(3)\r\n        .withPaddingTopBottomDp(3);\r\n```"},"comment":{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/comments/167987209","html_url":"https://github.com/mikepenz/MaterialDrawer/issues/905#issuecomment-167987209","issue_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/905","id":167987209,"user":{"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},"created_at":"2015-12-30T12:07:58Z","updated_at":"2015-12-30T12:07:58Z","body":"@uzegonemad yes you are right. will be in the next version. thanks"}}