Hello I'm using the new version of Room and I'd like to start using
Flow
so what I want to do is change the
List<Animals>
to a
Flow<List<Animals>>
but then, I'm losing the mappers on my
use-case
and on my
presentation
? Is there any way to keep mapping the values from the
data
layer? I mean, my dao now returns a
Flow<List<Animals>>
do I have to change also the repository return to be a
Flow<List<Animals>>
? I had a return
List<AnimalsMappedToDomain>
, but now how can I do that mapper? What would be the flow from repository to presentation using the mappers?