I am converting some of my Java code to Kotlin and I do not quite understand how to instantiate interfaces that are defined in Kotlin code. As an example, I have an interfac
Try to access to your interface like this :
object : MyInterface { override fun onSomething() { ... } }