06/07/2016, 9:19 PM
Sorry if this has been asked a million times before, but I can't seem to find the answer. If I have an interface written in Java with a
String getTitle();
method. Should I be able to implement that in a Kotlin class as a property (
override val title: String? = null
) ? The IDE suggests this but then complains that
'title' overrides nothing
. This works if I convert it to a function. Am I trying something that isn't supported?