问题
I have to import a library written in Kotlin to my android project. The library needed to import is here
This library is written in Kotlin but I am using java in my project.Is this possible? I have done some research on this topic but I can't find a good document on this.
回答1:
Yes you can. Kotlin compiles to Java bytecode so it's completely compatible
来源:https://stackoverflow.com/questions/43307926/can-i-import-a-library-write-in-kotlin-to-my-android-project-uses-java