#Stateflow
I just published a new article, 'Understanding the internals of Flow, StateFlow, and SharedFlow'.

In this article, you’ll dive deep into the internal mechanisms of Flow, StateFlow, and SharedFlow, exploring how they work under the hood.

www.revenuecat.com/blog/enginee...
Understanding the internal of Flow, StateFlow, and SharedFlow
In this article, you'll dive deep into the internal mechanisms of Flow, StateFlow, and SharedFlow, exploring how they work under the hood.
www.revenuecat.com
October 16, 2025 at 12:28 AM
Thanks @androidweekly.bsky.social for featuring my recent open-source library flow-operator this week!

🌊 Flow operators enable you to create restartable, pausable, or one-shot StateFlow.

github.com/skydoves/flo...
GitHub - skydoves/flow-operators: 🌊 Flow operators enable you to create restartable, pausable, or one-shot StateFlow.
🌊 Flow operators enable you to create restartable, pausable, or one-shot StateFlow. - skydoves/flow-operators
github.com
February 6, 2025 at 12:05 PM
I just published a new open-source library, Flow Operators.

🌊 Flow operators enable you to create restartable, pausable, or one-shot StateFlow.

github.com/skydoves/flo...
GitHub - skydoves/flow-operators: 🌊 Flow operators enable you to create restartable, pausable, or one-shot StateFlow.
🌊 Flow operators enable you to create restartable, pausable, or one-shot StateFlow. - skydoves/flow-operators
github.com
January 26, 2025 at 6:30 AM
Representing ViewModel events with StateFlow vs. SharedFlow vs. Channel kt.academy/article/view...
kt.academy
November 19, 2024 at 6:50 PM
If you're an Android developer building using Jetpack Compose for your you UI, consider using Compose State for your state production over StateFlow: www.tunjid.com/articles/emb...
Embracing Compose Snapshot State for UI Layer State Production
Getting the best out of Kotlin, coroutines and compose in the UI layer
www.tunjid.com
May 18, 2026 at 2:12 PM
March 12, 2025 at 11:31 AM
True true, that specific case is different. I meant more in general, with Compose state, StateFlow, LiveData and so on.
December 25, 2025 at 4:10 PM
Deciding if this should be a Flow, StateFlow, SharedFlow, or Callback.
June 1, 2026 at 3:18 PM
You asked for it, you got it! This week's video covers Hot Flows, including SharedFlow and StateFlow. In less than 15 minutes, we'll cover the most important things you need to know about them.

www.youtube.com/watch?v=u3bz...

#Kotlin #AndroidDev
Learn Kotlin Hot Flows in Just 15 Minutes
YouTube video by Dave Leeds
www.youtube.com
June 3, 2026 at 3:02 PM
2 main takes from this article:
- Always expose read-only collections to your UI, even if not using Compose: modifying a list held by a RecyclerView adapter will make your app crash anyway;
- Use StateFlow or distinctUntilChanged() to skip unnecessary recompositions of collections.
#AndroidDev
The Compose strong skipping mode does not fix the stability issue with Kotlin collections. Here’s a post on the main things to watch out for when using them 👇

open.substack.com/pub/effectiv...
Strong skipping does not fix Kotlin collections in Jetpack Compose ⚠️
Things to watch out for when using List, Map, Set, etc
open.substack.com
March 2, 2025 at 4:29 PM
🚀 𝗗𝗲𝘃𝗲𝗹𝗼𝗽 𝗻𝗮𝘁𝗶𝘃𝗲𝗹𝘆 𝘄𝗶𝘁𝗵 𝗞𝗠𝗣 𝗶𝗻 𝗺𝗶𝗻𝗱

1️⃣ 𝗟𝗮𝘆𝗲𝗿𝗲𝗱 𝗮𝗿𝗰𝗵𝗶𝘁𝗲𝗰𝘁𝘂𝗿𝗲 (data, domain, presentation) → makes it easier to move business logic to the shared module.
2️⃣ 𝗙𝗹𝗼𝘄 + 𝗦𝘁𝗮𝘁𝗲𝗙𝗹𝗼𝘄 + 𝗞𝗼𝘁𝗹𝗶𝗻𝘅 𝗦𝗲𝗿𝗶𝗮𝗹𝗶𝘇𝗮𝘁𝗶𝗼𝗻 → multiplatform-ready and Compose-friendly, avoiding future rework.

#android #kotlin #kmp #AndroidDev
September 7, 2025 at 5:18 AM
Deep Dive into Kotlin Data Classes, Coroutines, Flow, and K2 Compiler.

doveletter.skydoves.me/book/kotlin
Kotlin Data Classes, Coroutines, Flow, and K2 Compiler Explained
Learn essential Kotlin concepts including data classes, delegated properties, Kotlin Coroutines, Flow, StateFlow, SharedFlow, structured concurrency, and the K2 compiler.
doveletter.skydoves.me
January 27, 2026 at 2:25 PM
@kotlinlang.org 👀 can we have some docs? 😜
February 27, 2025 at 2:51 PM
Bindables 1.2.0 has been released.

🧬 Bindables is an Android DataBinding kit that enables notifying UI layers of data changes without requiring backing properties or relying on reactive programming models like LiveData and StateFlow.

github.com/skydoves/Bin...
GitHub - skydoves/Bindables: 🧬 Android DataBinding kit that enables notifying UI layers of data changes without requiring backing properties or relying on reactive programming models like LiveData and...
🧬 Android DataBinding kit that enables notifying UI layers of data changes without requiring backing properties or relying on reactive programming models like LiveData and StateFlow. - skydoves/Bin...
github.com
November 6, 2024 at 7:14 AM
The latest 2.4.0 dev build of Swift Export now supports exposing StateFlow directly to Swift code. Chip-8 sample updated to use it. #KMP
github.com/joreilly/chi...
GitHub - joreilly/chip-8: SwiftUI, Jetpack Compose, Compose for Wear, Compose for Web and Compose for Desktop based Kotlin Multiplatform fork of https://github.com/cbeust/chip-8 (Chip-8 Emulator)
SwiftUI, Jetpack Compose, Compose for Wear, Compose for Web and Compose for Desktop based Kotlin Multiplatform fork of https://github.com/cbeust/chip-8 (Chip-8 Emulator) - joreilly/chip-8
github.com
March 20, 2026 at 8:18 PM
@jingibus.bsky.social is this where your StateFlow#receiveAsState() comes in handy?
March 17, 2025 at 7:47 PM
Updated first of #KMP samples I have to use Swift export (given Flow support now available in recent Kotlin 2.4 dev builds).

Key usage here is that data is exposed from shared code as a Kotlin StateFlow and observed in iOS app using Swift's for await.

github.com/joreilly/chi...
GitHub - joreilly/chip-8: SwiftUI, Jetpack Compose, Compose for Wear, Compose for Web and Compose for Desktop based Kotlin Multiplatform fork of https://github.com/cbeust/chip-8 (Chip-8 Emulator)
SwiftUI, Jetpack Compose, Compose for Wear, Compose for Web and Compose for Desktop based Kotlin Multiplatform fork of https://github.com/cbeust/chip-8 (Chip-8 Emulator) - joreilly/chip-8
github.com
February 19, 2026 at 10:32 PM
チャット画面で既読更新⇒1つ前のチャット一覧画面で既読数更新みたいな連携が必要なのでいろいろ考えてEventBus+StateFlowで伝えることにした
June 26, 2024 at 2:00 PM
You can make it StateFlow<T>, and if you need to update later, you can combine a MutableStateFlow<T> and RestartableStateFlow<T> by using the mapLatest or flatMapLatest.
January 27, 2025 at 9:20 AM
Yiran Wu, Tianwei Yue, Shaokun Zhang, Chi Wang, Qingyun Wu
StateFlow: Enhancing LLM Task-Solving through State-Driven Workflows
https://arxiv.org/abs/2403.11322
March 20, 2024 at 2:12 AM
There is now a heated discussion about what to use to represent events in view models on Android. Here is a complete overview of all the options, their pros and cons, and final comparison.
Representing ViewModel events with StateFlow vs. SharedFlow vs. Channel
What is the best way to represent ViewModel events in Kotlin?
buff.ly
November 18, 2024 at 10:00 AM