Coroutine Launch vs Async
If you are new to coroutine or looking for the continuation, you could start from the previous article.
62 posts · page 1 of 8
If you are new to coroutine or looking for the continuation, you could start from the previous article.
Let's take a look at a simple kotlin program with a coroutine builder.
Sometimes, we want to initialize the properties of the class after it is created, but in a separate member function instead of using lazy
So far, we have two ways to initialize properties:
The standard library contains special property delegation properties. Map is one of the few types in Kotlin library. Each property identifier becomes a String key for the map, and the property's type…
In Kotlin, we could connect a property to a delegate with the by keyword:
Back in the school while I was learning C++, operator overloading was one of the topics in academic. But in practice, I rarely overload operators. However, in Kotlin, we do use the overload operators…
I love template in C++ in the olden day. In many good languages that I had chance to come across, such as TypeScript, Java (it was added later) and Kotlin, they too also have the Generic code. Generi…