PCSalt
YouTube GitHub

# coroutines

6 posts

Compose + Retrofit + Coroutines — Full API Integration

Build a complete API integration in Jetpack Compose — Retrofit setup, coroutine-based calls, ViewModel state management, error handling, loading states, and pull-to-refresh.

Side Effects in Compose — LaunchedEffect, DisposableEffect & More

Master side effects in Jetpack Compose — LaunchedEffect, DisposableEffect, SideEffect, rememberCoroutineScope, and when to use each.

Kotlin Flows — Cold Flows, Hot Flows & StateFlow Explained

Understand Kotlin Flow from the ground up — cold vs hot flows, Flow builders, operators, StateFlow, SharedFlow, and when to use each in Android and backend projects.

Kotlin Coroutines — Part 3: Real-World Patterns

Flows, StateFlow, coroutines in Android and Spring Boot, Retrofit, Room, and testing — practical patterns you'll use every day.

Kotlin Coroutines — Part 2: Structured Concurrency

How structured concurrency keeps your coroutines under control — scopes, cancellation, exception handling, and the parent-child relationship that prevents orphan coroutines.

Kotlin Coroutines — Part 1: The Basics

A practical introduction to Kotlin coroutines — why they exist, how to launch them, suspend functions, dispatchers, and concurrent execution patterns.