1.starWith操作符
starWith是在数据序列的开头插入一条指定的项;
如果你想要一个Observable在发射数据之前先发射一个指定的数据序列,可以使用 StartWith 操作符,原理如图所示...Observable.combineLatest(Observable.just(1, 2, 3),
Observable.just("a", "b", "c", "d"), new Func2...在原始的Observable中任意一个发射了数据
时发射一条数据。...当原始Observables的任何一个发射了一条数据时, CombineLatest 使用一个函数结合它们最近发射的数据,然后发射这个函数的返回值。...Observable.merge(Observable.just(1,3,4,5),Observable.just(22,33,44))
.subscribe(new Action1<Integer