kaushikgopal / RxJava-Android-Samples

Learning RxJava for Android by example
Apache License 2.0
7.55k stars 1.37k forks source link

Double binding TextView demo also can be implemented with combineLatest #31

Closed ltn614 closed 8 years ago

ltn614 commented 8 years ago

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

kaushikgopal commented 8 years ago

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.

ltn614 commented 8 years ago

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