A quick tutorial on using enums with when expressions in Kotlin.
Also find me here:
Baeldung Author
Ezra Kanake
A passionate and self driven software developer. A Kotlin lover and loves to speak on topics related to Android development. During his free time he loves doing open source projects.
Here's what I've written (so far):
Baeldung on Kotlin
- All
- Kotlin Basics (8)
- Kotlin Concurrency (7)
- Testing (3)
- Patterns (3)
- Algorithms (3)
- Persistence (1)
- Libraries (1)
- Kotlin Web (1)
- Kotlin Strings (1)
- Kotlin Functions (1)
- Kotlin Collections (1)
- Kotlin Classes and Objects (1)
- Kotlin (1)
Underscore Operator for Type Arguments in Kotlin
Filed under Kotlin Basics
A quick tutorial on using the Kotlin underscore operator for type arguments.
Mediator Pattern in Kotlin
Filed under Patterns
A quick tutorial on implementing the mediator pattern in Kotlin.
Comparing wait(), sleep(), and delay() in Kotlin
Filed under Kotlin Concurrency
A quick introduction to pausing execution in Kotlin with wait(), sleep(), and delay().
Result Class in Kotlin
Filed under Kotlin Basics
A quick tutorial about the Result class in Kotlin for advanced error handling.
Util Classes in Kotlin
Filed under Kotlin Classes and Objects
A quick introduction to creating utility classes in Kotlin.
Calculate Greatest Common Divisor in Kotlin
Filed under Algorithms
A quick tutorial on calculating the greatest common divisor of two or more numbers in Kotlin.
Find Least Common Multiple of Two Numbers in Kotlin
Filed under Algorithms
A quick tutorial on computing the least common multiple of two or more numbers in Kotlin.
Difference Between “it” and “this” Keywords in Kotlin
Filed under Kotlin Basics
An introduction to the differences between the “it” and “this” keywords in Kotlin.