4 ms·
Wouldn't a `lateinit var` solve the problem in this case? (Although the downside is that now it's a variable) Otherwise I'm sure you can come up with a good so
by gregschlom 10y ago
Wouldn't a `lateinit var` solve the problem in this case? (Although the downside is that now it's a variable)
Otherwise I'm sure you can come up with a good solution using delegated properties or something like that.
- Nullabillity 10y agoOh wow, wasn't aware that existed. Thanks!