{"action":"opened","issue":{"url":"https://api.github.com/repos/afollestad/material-dialogs/issues/897","labels_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/897/labels{/name}","comments_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/897/comments","events_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/897/events","html_url":"https://github.com/afollestad/material-dialogs/issues/897","id":125288994,"number":897,"title":"Dismiss Duration","user":{"login":"miroslavcupalka","id":11480684,"avatar_url":"https://avatars.githubusercontent.com/u/11480684?v=3","gravatar_id":"","url":"https://api.github.com/users/miroslavcupalka","html_url":"https://github.com/miroslavcupalka","followers_url":"https://api.github.com/users/miroslavcupalka/followers","following_url":"https://api.github.com/users/miroslavcupalka/following{/other_user}","gists_url":"https://api.github.com/users/miroslavcupalka/gists{/gist_id}","starred_url":"https://api.github.com/users/miroslavcupalka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miroslavcupalka/subscriptions","organizations_url":"https://api.github.com/users/miroslavcupalka/orgs","repos_url":"https://api.github.com/users/miroslavcupalka/repos","events_url":"https://api.github.com/users/miroslavcupalka/events{/privacy}","received_events_url":"https://api.github.com/users/miroslavcupalka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-06T23:41:21Z","updated_at":"2016-01-06T23:41:21Z","closed_at":null,"body":"Hello. It would be possible to add functionality to the dismiss dialog for some duration? This is possible to do it now, but maybe it would be better to add to directly to the library.\r\n\r\n       .showListener(new DialogInterface.OnShowListener() {\r\n                    @Override\r\n                    public void onShow(final DialogInterface dialog) {\r\n                        new Handler().postDelayed(new Runnable() {\r\n                            @Override\r\n                            public void run() {\r\n                                dialog.dismiss();\r\n                            }\r\n                        }, DISMISS_DURATION);\r\n                    }\r\n                })"}}