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

Add Coroutine API for sequential popups displaying #477

Merged
merged 2 commits into from
Aug 28, 2023

Conversation

heckfyxe
Copy link
Contributor

🎯 Goal

Alternative for relay methods, that allows to make complex logic easier to implement

🛠 Implementation details

There's static channel in Balloon class to ensure sequential work. When a popup is displayed, channel waits until it gets dismissed and only then display next balloon.

Copy link
Owner

@skydoves skydoves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @heckfyxe, this is a very creative solution to replace the relay methods! I never thought about this fantastic solution yet. Thanks for your contribution! 👍

@skydoves skydoves merged commit 64e401d into skydoves:main Aug 28, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants