aidanvii
04/24/2017, 10:59 AMprovideDelegate
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.louiscad
04/24/2017, 2:26 PMaidanvii
04/24/2017, 2:55 PM