mattinger
10/23/2020, 1:18 PMMarc Knaup
10/23/2020, 1:28 PM.map
for example will transform the value for one downstream Flow.
But other Flows may work on the original value.
If you want your transformed value to be a state again and be saved, then use
originalStateFlow
.map { … }
.stateIn(…)
mattinger
10/23/2020, 1:31 PMmattinger
10/23/2020, 1:38 PMMarc Knaup
10/23/2020, 1:39 PM