Hmm… I have now following in my Calendar class: ``...
# javafx
d
Hmm… I have now following in my Calendar class:
Copy code
private var id: Long by SimpleLongProperty()
And I created a new Kotlin file (no class) with following contents:
Copy code
fun SimpleLongProperty.getValue(thisRef: Any?, property: KProperty<*>): Long {
    return this.get()
}

fun SimpleLongProperty.setValue(thisRef: Any?, property: KProperty<*>, value: Long) {
    this.set(value)
}
But it still tells me, that no suitable methods are available on the Delegate (SimpleLongProperty)