Hey! I have a model like interface (basically a b...
# announcements
b
Hey! I have a model like interface (basically a bunch of getters) in Java, and I was trying to implement it in Kotlin as a data class. I was hoping I could just declare properties with the same names and that it would just work, but apparently it’s not possible (clash between my interface’s getFoo and kotlin’s foo property). Any experience/advice with this?
👍 1