jcogilvie
04/30/2019, 9:22 PMDelegates.observable that's approximately equivalent to lateinit? right now I have two options:
var foo: Foo? = null
set(value) {
field = value
update()
}
var foo2: Foo? by Delegates.observable(null as Foo?) {
prop, old, new -> update()
}
what would be cleaner is a version of Delegates.observable that didn't require an initial value, since my property is semantically not nullable... only late.