Marc Knaup
02/08/2020, 11:59 AMgetValue()
was called. It would be great if we could access the property name at the operator fun delegateProperty(thisRef: Any?, property: KProperty*) { … }
Currently I have to pass the property name manually because it need to “register” the argument name and type way before the delegate’s getValue()
is called.dmitriy.novozhilov
02/08/2020, 12:17 PMprovideDelegate
It called when property with delegate was declared
https://kotlinlang.org/docs/reference/delegated-properties.html#providing-a-delegate-since-11Marc Knaup
02/08/2020, 12:28 PM