Joost Klitsie
10/21/2020, 12:56 PMJavier
10/21/2020, 1:33 PMFlow
(or whatever API you are using), for example, if your app only gets data from network, you don't need to pass a Flow
from datasources -> repositories -> use cases, you only need a suspend fun
and the ViewModel can emit the state with Flow
or LiveData