Sudhir Singh Khanger
08/05/2020, 9:26 AMmap
operator here.
Where should I do this accessory work? In the repository before the values are emitted or in the UI where the data is delivered. Or if there is another operator that let's me do such accessory work.wasyl
08/05/2020, 9:31 AM.onEach { }
operator which receives each item for processingwasyl
08/05/2020, 9:34 AMonEach
does) or in parallel. And if in parallel, then whether cancelling the flow should cancel this accessory work 🙂Sudhir Singh Khanger
08/05/2020, 9:41 AMcollect
which is where I can do the accessory work and also push the data to the UI using the LiveData
. Thanks.