---
title: "#stateflow articles | Hashnode"
description: "Explore 9 articles tagged #stateflow on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/stateflow"
---

Tag

# #stateflow

9 posts · 0 followers

[Android Expert](https://hashnode.com/@android-expert) · [Nov 2](https://hashnode.com/posts/dropped-on-the-floor-conflation-in-kotlin-flows-and-the-ui-events-you-never-saw/6ae88d60c9a2b6f165a55f3f)

### [Dropped on the Floor: Conflation in Kotlin Flows and the UI Events You Never Saw](https://android-expert.hashnode.dev/dropped-on-the-floor-conflation-in-kotlin-flows-and-the-ui-events-you-never-saw?utm_source=hashnode&utm_medium=feed)

Learn 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](https://android-expert.hashnode.dev/dropped-on-the-floor-conflation-in-kotlin-flows-and-the-ui-events-you-never-saw?utm_source=hashnode&utm_medium=feed)

[kigya](https://hashnode.com/@kigya) · [May 2](https://hashnode.com/posts/dont-bury-your-backing-properties/69f5d44b0ab374db99e15bc8)

### [Don't Bury Your Backing Properties](https://kigya.hashnode.dev/dont-bury-your-backing-properties?utm_source=hashnode&utm_medium=feed)

Learn 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.dev](https://kigya.hashnode.dev/dont-bury-your-backing-properties?utm_source=hashnode&utm_medium=feed)

[Ganesh Rama Hegde](https://hashnode.com/@hegde10122) · [Feb 21](https://hashnode.com/posts/chapter-29-usecase26-channels-and-flow-bridge/6999a568649f185d24e98f46)

### [Chapter 29 : UseCase26 - Channels and Flow Bridge](https://kotlinflow.hashnode.dev/chapter-29-usecase26-channels-and-flow-bridge?utm_source=hashnode&utm_medium=feed)

Now 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 in

4 min read · [kotlinflow.hashnode.dev](https://kotlinflow.hashnode.dev/chapter-29-usecase26-channels-and-flow-bridge?utm_source=hashnode&utm_medium=feed)

[Ganesh Rama Hegde](https://hashnode.com/@hegde10122) · [Feb 20](https://hashnode.com/posts/chapter-27-usecase24-stateflow-state-holder-semantics/699893302de7857aa67d3417)

### [Chapter 27 : UseCase24 - StateFlow (State Holder Semantics)](https://kotlinflow.hashnode.dev/chapter-27-usecase24-stateflow-state-holder-semantics?utm_source=hashnode&utm_medium=feed)

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 automatically

3 min read · [kotlinflow.hashnode.dev](https://kotlinflow.hashnode.dev/chapter-27-usecase24-stateflow-state-holder-semantics?utm_source=hashnode&utm_medium=feed)

[Ganesh Rama Hegde](https://hashnode.com/@hegde10122) · [Feb 20](https://hashnode.com/posts/chapter-28-usecase25-hot-vs-cold-flow-comparison/699894629333793b50d6ea84)

### [Chapter 28 : UseCase25 - Hot vs Cold Flow comparison](https://kotlinflow.hashnode.dev/chapter-28-usecase25-hot-vs-cold-flow-comparison?utm_source=hashnode&utm_medium=feed)

In 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.\* impor

4 min read · [kotlinflow.hashnode.dev](https://kotlinflow.hashnode.dev/chapter-28-usecase25-hot-vs-cold-flow-comparison?utm_source=hashnode&utm_medium=feed)

[Ganesh Rama Hegde](https://hashnode.com/@hegde10122) · [Jan 15](https://hashnode.com/posts/chapter-1-importance-of-kotlin-flow/6990c070849cbecfd385a971)

### [Chapter 1 : Importance of Kotlin Flow](https://kotlinflow.hashnode.dev/chapter-1-importance-of-kotlin-flow?utm_source=hashnode&utm_medium=feed)

A practical introduction to Kotlin Flow. Learn what Flow is, why it matters, and how to reason about data streams, concurrency, and state

5 min read · [kotlinflow.hashnode.dev](https://kotlinflow.hashnode.dev/chapter-1-importance-of-kotlin-flow?utm_source=hashnode&utm_medium=feed)

[Ganesh Rama Hegde](https://hashnode.com/@hegde10122) · [Nov 1, 2025](https://hashnode.com/posts/chapter-10-creating-the-viewmodel-for-getartusecase/6905df898d8d41158977ccae)

### [Chapter 10 - Creating the ViewModel for GetArtUseCase](https://androidavatar.hashnode.dev/chapter-10-creating-the-viewmodel-for-getartusecase?utm_source=hashnode&utm_medium=feed)

The ViewModel is the bridge between Domain and the UI. The objective of the viewmodel is to allow the flow of data upwards to the UI. package com.learning.artsnapapp.presentation.viewmodel import androidx.lifecycle.ViewModel import androidx.lifecycl...

4 min read · [androidavatar.hashnode.dev](https://androidavatar.hashnode.dev/chapter-10-creating-the-viewmodel-for-getartusecase?utm_source=hashnode&utm_medium=feed)

[Bipin](https://hashnode.com/@bpn9adh) · [Apr 24, 2025](https://hashnode.com/posts/flows-in-kotlin/6809d125e20dfbb6331b451c)

### [Flows in Kotlin](https://bpn.hashnode.dev/flows-in-kotlin?utm_source=hashnode&utm_medium=feed)

Flow 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](https://bpn.hashnode.dev/flows-in-kotlin?utm_source=hashnode&utm_medium=feed)

[Ankush Bose](https://hashnode.com/@ankushb) · [Mar 9, 2024](https://hashnode.com/posts/stateflow-modernizing-android-state-management/65ec5d31214d65b12bcc7531)

### [StateFlow: Modernizing Android State Management](https://read.androidplay.in/stateflow-modernizing-android-state-management?utm_source=hashnode&utm_medium=feed)

Understand the evolution of state management for cleaner, more efficient apps.

4 min read · [read.androidplay.in](https://read.androidplay.in/stateflow-modernizing-android-state-management?utm_source=hashnode&utm_medium=feed)

[Daniel Alome](https://hashnode.com/@Astrocodr) · [Jan 17, 2023](https://hashnode.com/posts/managing-state-in-android-with-kotlin-stateflow-a-beginners-guide/63c696e1e88d0d73ae6fc454)

### [Managing state in Android with Kotlin StateFlow: A beginner's guide](https://blog.astrocoder.me/managing-state-in-android-with-kotlin-stateflow-a-beginners-guide?utm_source=hashnode&utm_medium=feed)

Managing states in Android can be complex, especially when dealing with asynchronous and streaming data. In this article, we'll look at how we can remove this complexity using kotlin flows. Flows, What are they? In coroutines, a flow is a type that c...

3 min read · [blog.astrocoder.me](https://blog.astrocoder.me/managing-state-in-android-with-kotlin-stateflow-a-beginners-guide?utm_source=hashnode&utm_medium=feed)
