adrielcafe / KBus

Dead simple EventBus for Android made with Kotlin and RxJava 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KT and Java mixed code in the same project

Duna opened this issue · 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

Hi @Duna ,

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

What about sending events from Java code?