KOTLIN ARTICLES with lateinit tag


Beneath the surface of Lateinit

Lateinit comes very handy when a non-null initializer cannot be supplied in the constructor, but the developer is certain that the variable will not be null when accessing it, thus avoiding null checks when referencing it later. ...
Read more