is there anywhere I can find a `Delegates.observab...
# announcements
j
is there anywhere I can find a
Delegates.observable
that's approximately equivalent to lateinit? right now I have two options:
Copy code
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.