3 ms·
I think it means that a library written in Kotlin is difficult or impossible to use from Java.
by dradtke 9y ago
I think it means that a library written in Kotlin is difficult or impossible to use from Java.
- EddieRingle 9y agoNot really true from my experience. For example, here's a Markdown library written in Kotlin that you can use with a plain Java interface: https://github.com/valich/intellij-markdown https://github.com/valich/intellij-markdown
- edem 9y agoNo no no no. Kotlin provides a lot of tools to make your library usable from Java and it works.
- pdpi 9y agoYou have to write your Kotlin anticipating it'll be called from Java though (e.g. by using SAM interfaces instead of function types for your arguments)