You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observable
.just(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
.observeOn(AndroidSchedulers.mainThread()) // the result subscription will happen in the UI Thread
.subscribeOn(Schedulers.computation()) // all the computation will happen in a background thread
.concatMap(this::heavyCalculations) // do the calculations for each item and returns it to the subscribable observer
.subscribe(number -> log(number));
this exactly what i looking for, thankyou