StateFlow-demo Kotlin StateFlow sample Using StateFlow as LiveData Buy me a coffee Liked some of my work? Buy me a coffee (or more likely a beer) Idle state Running state Paused state