I’m going to describe this problem in the context of Android, since that’s the platform I most commonly work on. But this issue is 100% Kotlin so it could easily apply to other platforms.
StateFlow is commonly used to hold and emit the UI state in the MVVM pattern often used in A...