28

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?

Amit
  • 3,422
  • 3
  • 28
  • 39

3 Answers3

14

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

Kirill Rakhman
  • 42,195
  • 18
  • 124
  • 148
Ajeet Choudhary
  • 1,969
  • 1
  • 17
  • 41
9

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.

Ronak Thakkar
  • 2,515
  • 6
  • 31
  • 45
2

yes, Kotlin is fully interoperable with Java

homerman
  • 3,369
  • 1
  • 16
  • 32