Tag: kotlin-coroutines
All the articles with the tag "kotlin-coroutines".
Tag:kotlin-coroutines
-
Understanding Dispatchers: Main and Main.immediate
A deep dive into Kotlin Coroutine Dispatchers. Understand the subtle but important difference between Dispatchers.Main and Dispatchers.Main.immediate in Android.
-
Benchmark Insights: Direct State Propagation vs. Lambda-based State in Jetpack Compose
Performance benchmarks of direct state propagation vs. lambda-based state in Jetpack Compose. Learn which approach minimizes recompositions for better UI performance.
-
Collecting items from the Flow in chunks💦
Learn how to collect Kotlin Flow items in chunks or intervals without losing data. A practical guide to handling high-frequency data streams efficiently.
-
Sleepless Concurrency: delay() vs. Thread.sleep()
Explore the difference between delay() and Thread.sleep() in Kotlin. Understand how non-blocking concurrency works from a platform perspective.