Closed ferut closed 11 months ago
I think I misread how works ZipStream. I need to updated both before it emits. sorry. I ended up using combinelastest
I think I misread how works ZipStream. I need to updated both before it emits. sorry. I ended up using combinelastest
Yes! combineLatest does not emit anything when one Stream does not emit at least one element.
If I use 1 of the 2 streams, my UI get updated when a change in the Firebase DB happen. If I use Zip function I need to manually reaload UI by switching tab.
I combine them using ZipStream:
And I use it in my streambuilder: