可以使用flatMap操作符将两个Observable组合起来,第二个Observable使用第一个Observable的结果。 示例代码: ``` Observable<Integer> observable1 = Observable.just(1, 2, 3); Observable<String> observable2 = Observable.just("A", "B", "C"); observable1.flatMap(new Function<Integer, ObservableSource<String>>() { @Override public ObservableSource<String> apply(Integer integer) throws Exception { return observable2.map(new Function<String, String>() { @Override public String apply(String s) throws Exception { return integer + s; } }); } }).subscribe(new Consumer<String>() { @Override public void accept(String s) throws Exception { System.out.println(s); } }); ``` 输出结果: ``` 1A 1B 1C 2A 2B 2C 3A 3B 3C ```