{"action":"created","issue":{"url":"https://api.github.com/repos/johnkil/Android-AppMsg/issues/20","labels_url":"https://api.github.com/repos/johnkil/Android-AppMsg/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/johnkil/Android-AppMsg/issues/20/comments","events_url":"https://api.github.com/repos/johnkil/Android-AppMsg/issues/20/events","html_url":"https://github.com/johnkil/Android-AppMsg/issues/20","id":27307730,"number":20,"title":"cancelAll keeps messages displayed forever","user":{"login":"sgehrman","id":287137,"avatar_url":"https://avatars.githubusercontent.com/u/287137?v=3","gravatar_id":"","url":"https://api.github.com/users/sgehrman","html_url":"https://github.com/sgehrman","followers_url":"https://api.github.com/users/sgehrman/followers","following_url":"https://api.github.com/users/sgehrman/following{/other_user}","gists_url":"https://api.github.com/users/sgehrman/gists{/gist_id}","starred_url":"https://api.github.com/users/sgehrman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgehrman/subscriptions","organizations_url":"https://api.github.com/users/sgehrman/orgs","repos_url":"https://api.github.com/users/sgehrman/repos","events_url":"https://api.github.com/users/sgehrman/events{/privacy}","received_events_url":"https://api.github.com/users/sgehrman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-02-10T22:41:12Z","updated_at":"2015-04-26T10:11:46Z","closed_at":null,"body":"Tried cancelAll, but it keeps messages up forever.  Didn't look into this, but give it a try."},"comment":{"url":"https://api.github.com/repos/johnkil/Android-AppMsg/issues/comments/96359913","html_url":"https://github.com/johnkil/Android-AppMsg/issues/20#issuecomment-96359913","issue_url":"https://api.github.com/repos/johnkil/Android-AppMsg/issues/20","id":96359913,"user":{"login":"marcohc","id":6806082,"avatar_url":"https://avatars.githubusercontent.com/u/6806082?v=3","gravatar_id":"","url":"https://api.github.com/users/marcohc","html_url":"https://github.com/marcohc","followers_url":"https://api.github.com/users/marcohc/followers","following_url":"https://api.github.com/users/marcohc/following{/other_user}","gists_url":"https://api.github.com/users/marcohc/gists{/gist_id}","starred_url":"https://api.github.com/users/marcohc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcohc/subscriptions","organizations_url":"https://api.github.com/users/marcohc/orgs","repos_url":"https://api.github.com/users/marcohc/repos","events_url":"https://api.github.com/users/marcohc/events{/privacy}","received_events_url":"https://api.github.com/users/marcohc/received_events","type":"User","site_admin":false},"created_at":"2015-04-26T10:11:46Z","updated_at":"2015-04-26T10:11:46Z","body":"The problem is still there (there is no new update). This bug could be reproduced If you are starting and activity for result while showing this toast and go back to the main activity.\r\n\r\nA workaround which is working for me is \"waiting a little bit\" before launching the activity and cancel the toast:\r\n````java\r\n        AppMsg.cancelAll();\r\n        android.os.Handler handler = new android.os.Handler();\r\n        handler.postDelayed(new Runnable() {\r\n            @Override\r\n            public void run() {\r\n                // Start your activity for result here\r\n            }\r\n        }, 200);\r\n````\r\n\r\nIt's totally an ugly solution but hope helps someone. Cheers"}}