When and How to use Lateinit or By Lazy in Kotlin
Hello Engineers...
In Kotlin we are provided with preferences when it comes to initialization, you can either initialize your variable using a **Var **for the mutable values,Val for the immutable values, lateinit, or by Lazy depending on your use cas...
petergichia.hashnode.dev3 min read