Reputation: 3702
I haven't moved to Kotlin for Android development yet, just wondering if Kotlin supports the available third party libraries for Android as is or they need to be updated in order to work with Kotlin?
Upvotes: 28
Views: 12040
Reputation: 2009
Of course you can do that, see the examples :
https://kotlinlang.org/docs/reference/java-interop.html
https://kotlinlang.org/docs/reference/java-to-kotlin-interop.html
Upvotes: 14
Reputation: 2525
Yes, as Kotlin is 100% interoperable with Java, and both works on JVM. so one can easily use Java libraries with Kotlin.
Please refer this.
Upvotes: 9