deviant
05/21/2017, 2:02 PMprovideDelegate
operator? It's just not being called when i'm trying to instantiate delegate via helper function, such
fun <T> observableField(default: T? = null): ReadWriteProperty<Observable, T?> = ObservableFieldProperty(default)
the operator works ok though when i instantiate delegated property directly with class constructordeviant
05/21/2017, 3:11 PMObservableFieldProperty
as return type, all seems to work now.ilya.gorbunov
05/21/2017, 5:25 PMprovideDelegate
is resolved statically, so the type must have it either as a member or as an extension.