How to run 2 queries sequentially in a Android RxJava Observable?
问题 I want to run 2 asynchronous tasks, one followed by the other (sequentially). I have read something about ZIP or Flat, but I didn't understand it very well... My purpose is to load the data from a Local SQLite, and when it finishes, it calls the query to the server (remote). Can someone suggests me, a way to achieve that? This is the RxJava Observable skeleton that I am using (single task): // RxJava Observable Observable.OnSubscribe<Object> onSubscribe = subscriber -> { try { // Do the query