Jan 7, 2023
Interested to hear more on this. Why is a hot flow not appropriate for a repository?
The Android docs allow for an in-memory cache in the repository - which is essentially what a StateFlow provides.
Reference: https://developer.android.com/topic/architecture/data-layer#source-of-truth
Perhaps there has been a change in thought since this was published a few years ago.