gregd
06/26/2017, 7:59 PMvararg
all the elements will have to be of the same type (e.g. Observable<String>
). So if your form has various types, this might me a problem. Maybe it would be better to use something like Observable.combineLatest()
, which is parametrized (generics) and can handle up to 9 different Observables?bdeg
06/28/2017, 8:07 PMgregd
06/29/2017, 12:17 PMvararg
, or 2) Define your function exactly the same as combineLatest()
- with the use of Generics. I think the second option is better, as it gives you the ability to have different types, if you’ll ever want them in the future