KBus icon indicating copy to clipboard operation
KBus copied to clipboard

KT and Java mixed code in the same project

Open Duna opened this issue 5 years ago • 2 comments

I have kt and Java mixed in the same project. I send messages to bus from KT

How do I receive messages in Java part of the project? Some lines of code would be useful

Duna avatar Jul 10 '19 12:07 Duna

Hi @Duna ,

Unfortunately is not possible to call the inline function KBus.subscribe<>() on Java code due to a language limitation :/

adrielcafe avatar Jul 12 '19 14:07 adrielcafe

What about sending events from Java code?

cj-marius-duna avatar Jan 25 '22 08:01 cj-marius-duna