combine Latest
fun <T, R, O> ObservableList<T>.combineLatest(transformer: (T) -> Observable<R>, aggregator: (List<R>) -> O): Observable<O>
Combines the content of an ObservableList into a single observable by applying a mapping function to each element and aggregating the results.
Return
An Observable emitting the aggregated result of the mapped content from the ObservableList.
Parameters
transformer
A function that maps each element of the ObservableList to an Observable.
aggregator
A function that aggregates the mapped results into a single value.