Tutorials

Easy Singletons in Kotlin

Singleton pattern involves a single class which is responsible to create an object while making sure that only one single instance gets created.

Lazy initialisation in Kotlin

Just like Late Initialisation lazy</c...</p> </article> </div>

Late initialisation in Kotlin

Non-null type properties must be initialised in the constructor but that’s not always very convenient. ...</p> </article> </div>

Extension functions in Kotlin

In most programming languages you have to derive a new class. In Kotlin you can extend a class with new functionality.

Defining a map in Kotlin

No need for explicitly defining generic types and no repetitive put or assignment to define maps...