<Java class that extends Kotlin base class cannot ...
# stackoverflow
u
Java class that extends Kotlin base class cannot call internal methods of base I am experimenting with Kotlin on Android, with Android Studio, mixing it with some existing Java code, and I've come across a problem. I have a base class in Kotlin with a single method marked as internal: package com.example.kotlin.hellokotlin open class KotlinBaseClass { internal fun doSomething() { println("Done something!") } } I then create a Kotlin class that extends KotlinBaseClass and calls the base class method: package com.example.kotlin.hellokotlin class...