Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Toast show at a Single time #118

Open
mohdtahir-kiwi opened this issue Jun 3, 2020 · 2 comments
Open

Multiple Toast show at a Single time #118

mohdtahir-kiwi opened this issue Jun 3, 2020 · 2 comments

Comments

@mohdtahir-kiwi
Copy link

When one toast is appear then there should not. show multiple toast overlap.

@philosopherdog
Copy link

you can give it a tag and then before you add your new one use the tag to check if one already exists and if it does dismiss it. There's a method that is internal called topWindow. You can use that and ask for any view in the window with the tag in question, cast it, and call dismiss.

@philosopherdog
Copy link

Not sure who's maintaining this project. But I'd be more than happy to add this functionality to a PR. Are you guys accepting PR's?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants