Flatten Observable<Observable<Cursor>> to Observable<Cursor>
问题 I've an Observable that returns a single Cursor instance ( Observable<Cursor> ). I'm trying to utilize ContentObservable.fromCursor to obtain every cursor's row in onNext callback. One of the solutions I've figured out is such construction: ContentObservable.fromCursor(cursorObservable.toBlocking().first()) .subscribe(cursor -> { // map to object // add to outer collection }, e -> {}, () -> { // do something with list of objects (outer collection) }); This looks rather like a hack because of