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

EventBus and Jetpack Compose #697

Open
Lingga-MG opened this issue Apr 12, 2022 · 2 comments
Open

EventBus and Jetpack Compose #697

Lingga-MG opened this issue Apr 12, 2022 · 2 comments
Labels
more info required Needs more info to become actionable.

Comments

@Lingga-MG
Copy link

Is it possible to use EventBus on Composable function(Jetpack compose)?

Thanks

@greenrobot-team
Copy link
Collaborator

Haven't tried. What are the requirements? Do you maybe have a code snippet or link to some docs to explain what you are trying to do?

@greenrobot-team greenrobot-team added the more info required Needs more info to become actionable. label Apr 12, 2022
@funyin
Copy link

funyin commented Aug 16, 2022

It's probably possible if the composable has a life cycle that you can use to register and unregister events.
Although the subscribers also have to be functions so I am not sure how that would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info required Needs more info to become actionable.
Projects
None yet
Development

No branches or pull requests

3 participants