kaushikgopal / RxJava-Android-Samples

Learning RxJava for Android by example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Double binding TextView demo also can be implemented with combineLatest

ltn614 opened this issue · comments

I think Double binding TextView demo also can be implemented with combineLatest operator

the problem with combineLatest is that it needs all inputs to kick off the input. What this means is that if you change one value, your output doesn't change until the second input also has a value provided. This is not entirely favorable in the double binding scenarios.

If you still feel there's an elegant way out, feel free to open this issue.

You are right about, I didn't thought that problem, great work by the way, helps me a lot.