{"action":"created","issue":{"url":"https://api.github.com/repos/afollestad/material-dialogs/issues/165","labels_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/165/comments","events_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/165/events","html_url":"https://github.com/afollestad/material-dialogs/issues/165","id":53375608,"number":165,"title":"Gravity still not working","user":{"login":"Tolriq","id":932609,"avatar_url":"https://avatars.githubusercontent.com/u/932609?v=3","gravatar_id":"","url":"https://api.github.com/users/Tolriq","html_url":"https://github.com/Tolriq","followers_url":"https://api.github.com/users/Tolriq/followers","following_url":"https://api.github.com/users/Tolriq/following{/other_user}","gists_url":"https://api.github.com/users/Tolriq/gists{/gist_id}","starred_url":"https://api.github.com/users/Tolriq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tolriq/subscriptions","organizations_url":"https://api.github.com/users/Tolriq/orgs","repos_url":"https://api.github.com/users/Tolriq/repos","events_url":"https://api.github.com/users/Tolriq/events{/privacy}","received_events_url":"https://api.github.com/users/Tolriq/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-01-05T08:52:28Z","updated_at":"2015-01-05T17:29:06Z","closed_at":"2015-01-05T09:04:36Z","body":"Well removing all important data in issues should be avoided ;)\r\n\r\nSo the message with 0.5.7 is now that Gravity should be 0 or 1 or 2.\r\n\r\nStill ultra easy to test and reproduce : \r\n\r\nTake the sample and change \r\n\r\n```\r\ncompile project(':library')\r\n```\r\n\r\nwith \r\n\r\n```\r\ncompile 'com.afollestad:material-dialogs:0.5.7'\r\n```\r\n\r\nAs suggested by @hzsweers before closing, maybe test or wait for feedback ;)"},"comment":{"url":"https://api.github.com/repos/afollestad/material-dialogs/issues/comments/68742906","html_url":"https://github.com/afollestad/material-dialogs/issues/165#issuecomment-68742906","issue_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/165","id":68742906,"user":{"login":"Tolriq","id":932609,"avatar_url":"https://avatars.githubusercontent.com/u/932609?v=3","gravatar_id":"","url":"https://api.github.com/users/Tolriq","html_url":"https://github.com/Tolriq","followers_url":"https://api.github.com/users/Tolriq/followers","following_url":"https://api.github.com/users/Tolriq/following{/other_user}","gists_url":"https://api.github.com/users/Tolriq/gists{/gist_id}","starred_url":"https://api.github.com/users/Tolriq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tolriq/subscriptions","organizations_url":"https://api.github.com/users/Tolriq/orgs","repos_url":"https://api.github.com/users/Tolriq/repos","events_url":"https://api.github.com/users/Tolriq/events{/privacy}","received_events_url":"https://api.github.com/users/Tolriq/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T17:29:06Z","updated_at":"2015-01-05T17:29:06Z","body":"The point of intdef is to validate the input.\r\n\r\nAssert are used to validate inputs too (http://docs.oracle.com/javase/8/docs/technotes/guides/language/assert.html)\r\n\r\nI'm talking about the gain of enums versus directly using Gravity values that avoid all the conversion code from enums to final values. (Meaning code for nothing and associated maintenance).\r\n\r\nAnd thanks for your beautiful image, but everybody can make a mistake, when someone make 8 times the same mistake then he have a problem.\r\nSo you can take your image and play with it in any part of your anatomy you like ;)"}}