Given that I subscribe to 2 different Observables, and I want to get both of them onnext after doing some operations with them
let's say i have 2 observables
Observable<List<String>> childName = Observable.from(children)... some operations
Observable<List<String>> teacherName = Observable.from(teachers)... some operations
How do I get both of them on my subscription?
subscribe(
onNext(List<String> childName, List<String> className)
so that I can go through both of them in my listener this way.
I don’t want to combine them, I just want to receive both of them after the operation is completed and transfer them to my subscriptions
Salis source
share