How does Room DB with Flow works?
I’m experimenting with Room and Coroutines Flow observables in a simple project, but I’m encountering an issue where the Flow emits multiple times.
In the app, I’m fetching all data from the user’s fixed expenses table (like a monthly streaming service, cable TV, etc.) and observing the Flow in my ViewModel. The DAO returns Flow<List<FixedExpense>>
.