Kotlin return Function from Function

With Kotlin, we can define a function that chooses the appropriate logic variants for specific cases and returns one of them as another function. In this tutorial, we’re gonna look at how to return Function from Function.

Kotlin Lazy Initialization Example

Lazy Initialization is a common pattern for delaying creation of an object, calculation of a value, or an expensive process until it’s accessed for the first time. It is helpful when the initialization process consumes significant resources and the data isn’t always required when the… Read More

Kotlin Fold Example

This Kotlin tutorial shows you example that uses Fold method on List, Map of Objects. Related Post: Kotlin List & Mutable List tutorial with examples