I\'m in search for a better way to achieve a simple Observable fallback system for empty results when using RxJava. The idea is that, if a local query for a set of data results
You can concatenate your Observables as well:
Observable
Observable o1 = Observable.empty(); Observable o2 = Observable.empty(); Observable o3 = Observable.just(3); Observable o4 = Observable.just(4); Observable os = Observable.concat(o1, o2, o3, o4); Integer v = os.toBlocking().first(); // returns 3