A quick tutorial on merging multiple Kotlin Flows into a single Flow.
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)
Combining Multiple Kotlin Flows
Filed under Kotlin Concurrency
A quick and practical guide to combining multiple Kotlin Flows.
Async Exception Handling in Kotlin
Filed under Kotlin Concurrency
A quick tutorial on async exception handling in Kotlin coroutines.
Difference Between single() and first() in Kotlin Flows
Filed under Kotlin Concurrency
Learn the differences between single() and first() for Kotlin Flows.
Using Spy in MockK
Filed under Testing
A quick tutorial on using spies with MockK in Kotlin.
Kotlin when vs. Java switch Statement
Filed under Kotlin Basics
A quick tutorial on the difference between when expressions in Kotlin and switch statements in Java.
Difference Between Value and Emit in MutableStateFlow Kotlin
Filed under Kotlin Concurrency
A quick tutorial on the differences between the value property and emit function of a MutableStateFlow in Kotlin.
The Proxy Pattern in Kotlin
Filed under Patterns
A quick tutorial on implementing the proxy pattern in Kotlin.
Difference Between collect() and collectLatest() in Kotlin Flows
Filed under Kotlin Concurrency
Learn the difference between collect() and collectLatest() when working with Kotlin Flows.
Using Enums With when() in Kotlin
Filed under Kotlin Basics
A quick tutorial on using enums with when expressions in Kotlin.
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.
Using Kotlin when() Clause for <, <=, >=, and == Comparisons
Filed under Kotlin Basics
Learn how to use Kotlin operator functions for detailed comparisons in when clauses.
Identifying and Addressing Kotlin Code Smells
Filed under Kotlin
Learn how to recognize common Kotlin code smells along with strategies to mitigate issues that are discovered.
Difference Between !! and ? in Kotlin
Filed under Kotlin Basics
Learn the difference between the safe null operator and the unsafe non-null assertion operator in Kotlin.
Iterate Over a String Backward in Kotlin
Filed under Kotlin Strings
Explore techniques for iterating a string backward in Kotlin.
Testing Extension Methods in Kotlin
Filed under Kotlin Functions, Testing
Learn a few strategies of testing extension functions in Kotlin.
Clean Architecture with Kotlin
Filed under Patterns
A quick and practical guide to the clean architecture pattern with Kotlin.
Insertion Sort in Kotlin
Filed under Kotlin Collections
Learn how to implement the insertion sort in Kotlin.
How to Mock and Verify Lambda Expression in Kotlin
Filed under Testing
Learn various methods you can use to mock and verify lambda expressions in Kotlin.
Code Formatting in Kotlin Using Ktlint
Filed under Libraries
Learn how to format code in Kotlin projects using the Ktlint linting tool.
A Guide to SQLDelight
Filed under Persistence
A quick and practical guide to SQLDelight.
Handling Multiple Names for JSON Field in Kotlin
Filed under Kotlin Web
A quick and practical guide to handling multiple names for JSON fields in Kotlin.
Bubble Sort in Kotlin
Filed under Algorithms
A quick and practical guide to bubble sort in Kotlin.
Swap Function in Kotlin
Filed under Kotlin Basics
Learn some techniques for writing variable swap functions in Kotlin.