K Merle
02/10/2022, 5:57 AMval x = combine(y.invoke(), z.invoke()){ y+z }
Both y
and z
are flows of same type and they seem to not throw any errors.bezrukov
02/10/2022, 6:02 AMK Merle
02/10/2022, 6:06 AMcollectAsState(initial = null)
but it keeps returning null, altho both y
and z
contain values. It's just that transform is never called.Francesc
02/10/2022, 6:26 AMK Merle
02/10/2022, 6:27 AM.transformLatest
that is inside flow y
causes an issue. Maybe I do not understand it enough, but changing to flow builder and emitting value solves an issue.Francesc
02/10/2022, 6:27 AM