EventBus and Jetpack Compose
Lingga-MG opened this issue · 2 comments
Lingga-MG commented
Is it possible to use EventBus on Composable function(Jetpack compose)?
Thanks
greenrobot-team commented
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?
funyin commented
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.