{"action":"created","issue":{"url":"https://api.github.com/repos/afollestad/material-dialogs/issues/671","labels_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/671/labels{/name}","comments_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/671/comments","events_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/671/events","html_url":"https://github.com/afollestad/material-dialogs/issues/671","id":104119394,"number":671,"title":"How to handle orientation change when autodismiss is off?","user":{"login":"NeverGivinUp","id":11574540,"avatar_url":"https://avatars.githubusercontent.com/u/11574540?v=3","gravatar_id":"","url":"https://api.github.com/users/NeverGivinUp","html_url":"https://github.com/NeverGivinUp","followers_url":"https://api.github.com/users/NeverGivinUp/followers","following_url":"https://api.github.com/users/NeverGivinUp/following{/other_user}","gists_url":"https://api.github.com/users/NeverGivinUp/gists{/gist_id}","starred_url":"https://api.github.com/users/NeverGivinUp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeverGivinUp/subscriptions","organizations_url":"https://api.github.com/users/NeverGivinUp/orgs","repos_url":"https://api.github.com/users/NeverGivinUp/repos","events_url":"https://api.github.com/users/NeverGivinUp/events{/privacy}","received_events_url":"https://api.github.com/users/NeverGivinUp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-31T19:34:25Z","updated_at":"2015-08-31T19:38:57Z","closed_at":"2015-08-31T19:38:57Z","body":"Android closes the dialog  unhappy - it logs an error android.view.WindowLeaked - when autoDismiss is turned off and the user changes the phones orientation. \r\n\r\nIf users of material-dialogs do not need to worry about that of if we need to do something about that, some documentation in the readme would be welcome. Currently the readme only comments on the cases where an action button is pressed or the user selects a list item."},"comment":{"url":"https://api.github.com/repos/afollestad/material-dialogs/issues/comments/136478537","html_url":"https://github.com/afollestad/material-dialogs/issues/671#issuecomment-136478537","issue_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/671","id":136478537,"user":{"login":"afollestad","id":1820165,"avatar_url":"https://avatars.githubusercontent.com/u/1820165?v=3","gravatar_id":"","url":"https://api.github.com/users/afollestad","html_url":"https://github.com/afollestad","followers_url":"https://api.github.com/users/afollestad/followers","following_url":"https://api.github.com/users/afollestad/following{/other_user}","gists_url":"https://api.github.com/users/afollestad/gists{/gist_id}","starred_url":"https://api.github.com/users/afollestad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afollestad/subscriptions","organizations_url":"https://api.github.com/users/afollestad/orgs","repos_url":"https://api.github.com/users/afollestad/repos","events_url":"https://api.github.com/users/afollestad/events{/privacy}","received_events_url":"https://api.github.com/users/afollestad/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T19:38:57Z","updated_at":"2015-08-31T19:38:57Z","body":"That's not an issue with this library, that's how dialogs on Android work.\r\n\r\nUse a `DialogFragment`."}}