{"action":"created","issue":{"url":"https://api.github.com/repos/code-mc/loadtoast/issues/20","labels_url":"https://api.github.com/repos/code-mc/loadtoast/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/code-mc/loadtoast/issues/20/comments","events_url":"https://api.github.com/repos/code-mc/loadtoast/issues/20/events","html_url":"https://github.com/code-mc/loadtoast/issues/20","id":105338517,"number":20,"title":"Add support for getting toast animation status/callback","user":{"login":"lwasyl","id":3951580,"avatar_url":"https://avatars.githubusercontent.com/u/3951580?v=3","gravatar_id":"","url":"https://api.github.com/users/lwasyl","html_url":"https://github.com/lwasyl","followers_url":"https://api.github.com/users/lwasyl/followers","following_url":"https://api.github.com/users/lwasyl/following{/other_user}","gists_url":"https://api.github.com/users/lwasyl/gists{/gist_id}","starred_url":"https://api.github.com/users/lwasyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwasyl/subscriptions","organizations_url":"https://api.github.com/users/lwasyl/orgs","repos_url":"https://api.github.com/users/lwasyl/repos","events_url":"https://api.github.com/users/lwasyl/events{/privacy}","received_events_url":"https://api.github.com/users/lwasyl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-08T09:23:53Z","updated_at":"2015-09-23T15:15:37Z","closed_at":null,"body":"Currently it's a bit ugly to for example show loadtoast, and on success finish activity - toast's animation plays together with activity's. It would be nice to have `LoadToast#isShowing()` method, as well as `LoadToast#setOnAnimationCompleteListener`, to be able to wait until animation finishes to do stuff.\r\n\r\nI'm willing to issue a pull request with this change - only please let me know if you're willing to merge it later, and if there's preferred place to put animation listeners (`LoadToast` class or `LoadToastView`), and if there's anything special I should consider?"},"comment":{"url":"https://api.github.com/repos/code-mc/loadtoast/issues/comments/142636142","html_url":"https://github.com/code-mc/loadtoast/issues/20#issuecomment-142636142","issue_url":"https://api.github.com/repos/code-mc/loadtoast/issues/20","id":142636142,"user":{"login":"lwasyl","id":3951580,"avatar_url":"https://avatars.githubusercontent.com/u/3951580?v=3","gravatar_id":"","url":"https://api.github.com/users/lwasyl","html_url":"https://github.com/lwasyl","followers_url":"https://api.github.com/users/lwasyl/followers","following_url":"https://api.github.com/users/lwasyl/following{/other_user}","gists_url":"https://api.github.com/users/lwasyl/gists{/gist_id}","starred_url":"https://api.github.com/users/lwasyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwasyl/subscriptions","organizations_url":"https://api.github.com/users/lwasyl/orgs","repos_url":"https://api.github.com/users/lwasyl/repos","events_url":"https://api.github.com/users/lwasyl/events{/privacy}","received_events_url":"https://api.github.com/users/lwasyl/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T15:15:37Z","updated_at":"2015-09-23T15:15:37Z","body":"> I'm fully against isShowing() as that basically implies your code is so bad you aren't even able to keep track of a damn toast.\r\n\r\nWell, it would, if toast wouldn't be visible for X time after a call to hide it. I meant `isShowing` as in *is it still visible to the user, for example during hiding animation*. Although I can agree it's not prettiest API and I won't insist on it.\r\n\r\nStart and stop of animation makes sense. I'll see when I can code something. Thanks for reply!"}}