Hey guys , I just started exploring KMM and I’m ne...
# multiplatform
e
Hey guys , I just started exploring KMM and I’m new with Kotlin also , and I would like to know if I can work with a Java Library in the common project ( we have our SDK in JAVA) or better to re-write it in Kotlin
j
No, you can use it in the JVM implementation
👍 1
u
You can convert your java sdk to kotlin And use iosMain and androidMain for native implementation logics I had one java library and i converted to kotlin then used the both Platform specific modules for native classes by using expect and actual methods and it works perfectly
❤️ 1
e
thanks for the answers , and I think I will do the same it’s good opportunity also to practice Kotlin by rewrite 😛