dx
02/16/2016, 9:22 PMprivate var id: Long by SimpleLongProperty()
And I created a new Kotlin file (no class) with following contents:
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)