AAndroid Expert·Nov 2Dropped on the Floor: Conflation in Kotlin Flows and the UI Events You Never SawLearn how Kotlin Flow conflation drops events in StateFlow, SharedFlow, and collectLatest, and fix it with Channels, buffers, and tested patterns.11 min read·android-expert.hashnode.dev
Kkigya·May 2Don't Bury Your Backing PropertiesLearn why explicit backing fields do not fully replace backing properties and asStateFlow for safer ViewModel state in Kotlin Android apps.12 min read·kigya.hashnode.dev1
GGanesh Rama Hegde·Feb 21Chapter 29 : UseCase26 - Channels and Flow BridgeNow we do one level below Flow. Flow is built on coroutines.Coroutines are built on channels. Here we convert channel to Flow and build Flow using channelFlow. We also understand producer-consumer in4 min read·kotlinflow.hashnode.dev
GGanesh Rama Hegde·Feb 20Chapter 27 : UseCase24 - StateFlow (State Holder Semantics)What is StateFlow? StateFlow is a special type of SharedFlow that: Always holds a current value Requires an initial value Replays the latest value to new collectors Conflates updates automatically3 min read·kotlinflow.hashnode.dev
GGanesh Rama Hegde·Feb 20Chapter 28 : UseCase25 - Hot vs Cold Flow comparisonIn this use case we will do an architectural level comparison of hot versus cold flow. CODE IMPLEMENTATION package org.kotlinflowlearner.stockflow.usecases.uc25 import kotlinx.coroutines.flow.* impor4 min read·kotlinflow.hashnode.dev
GGanesh Rama Hegde·Feb 19Chapter 26 : UseCase23 - SharedFlow (Hot Streams)Everything that we have seen until now was cold flows. Now we enter the world of "hot” flows. Cold flow means: Nothing runs until collected Each collector gets its own independent execution Flow re4 min read·kotlinflow.hashnode.dev
GGanesh Rama Hegde·Jan 15Chapter 1 : Importance of Kotlin FlowA practical introduction to Kotlin Flow. Learn what Flow is, why it matters, and how to reason about data streams, concurrency, and state5 min read·kotlinflow.hashnode.dev
BBipin·Apr 24, 2025Flows in KotlinFlow vs Stateflow vs Sharedflow First, the Base Type: Flow<T> A cold asynchronous stream. Starts emitting only when collected. Use for standard data streams (e.g., database queries, API paginated responses). fun getNumbers(): Flow<Int> = flow { ...2 min read·bpn.hashnode.dev
AAnkush Bose·Mar 9, 2024StateFlow: Modernizing Android State ManagementUnderstand the evolution of state management for cleaner, more efficient apps.4 min read·read.androidplay.in
AAbdul Mueez·Jun 7, 2022Android state flow and shared flowIf you are getting tired by reading all the stuff on the internet related state flow and shared flow and want to know what they actually are then in this blog I have shared some easy understanding of it and check out all the code snippets for better ...2 min read·abdulmueez.hashnode.dev