python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to print size of flow in kotlin
Hey I am new in kotlin flow. I am trying to print flow size. As we know that list has size() function. Do we have something similar function for flow.
val list = mutableListof(1,2,3)
println(list.size...

Vivek Modi
Votes: 0
Answers: 1
Why don't UI receive StateFlow changes from ViewModel? - Android Kotlin
I am working on a practice project where I store subscribers in a room database. I use flows in the DAO and get them as stateflows later in the viewmodel. This works fine but the UI somewhy don't reac...
bmartin042503
Votes: 0
Answers: 0
Update Kotlin StateFlow without change emitting
Is it possible to update Kotlin StateFlow without emitting the change?
The use case is that when user zooms a chart view, I would like to have that restored when activity resumes but skip the StateFlo...
yaugenka
Votes: 0
Answers: 2