Skip to content

hrach.dev

Kotlin • Android • PHP

  • Home
  • Talks
  • GitHub

Flow

Domain Model’s StateFlow Sharing

2022-03-102021-09-28 by hrach

A lot of applications have an app-wide state defined in its domain model. Making it correctly reactive may not be so trivial. Let’s explore. Apps have state all over the source code. ViewModels have their screen’s state. Storage has the app’s state, and sometimes we need to keep an app-wide state in our domain model … Read more

Categories Programming Tags Coroutines, Flow, Kotlin, Model Leave a comment
© 2023 hrach.dev • Built with GeneratePress