I’m looking for some more examples of how to use t...
# announcements
a
I’m looking for some more examples of how to use the
provideDelegate
operator. The example code on the documentation is slightly confusing: https://kotlinlang.org/docs/reference/delegated-properties.html Does this create an instance of
ResourceLoader
which then creates the delegate? Will the
ResourceLoader
be gc’d after it’s created the delegate? It also mentions it can be done with an extension function, but there is no example of this.
a
@louiscad thanks!