RxJava: How to convert List of objects to List of another objects
If your Observable emits a List, you can use these operators: flatMapIterable (transform your list to an Observable of items) map (transform your item to another item) toList operators (transform a completed Observable to a Observable which emit a list of items from the completed Observable) Observable<SourceObjet> source = … source.flatMapIterable(list -> list) .map(item -> … Read more