Skip to content

Add support for getting toast animation status/callback #20

Description

@lwasyl

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.

I'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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions