Room database created in Kotlin, activity written in Java, can I do that?

Yes, you can. You can call Kotlin function with Java and you also can call Java function with Kotlin. But you must write kotlin code in .kt file and write Java code in .java file.

Leave a Comment