https://kotlinlang.org logo
#rx
Title
o

oday

03/01/2018, 8:06 AM
in the presenter I should ideally be doing this
Copy code
carsRepository.getCars()
                .subscribeOn(backgroundScheduler)
                .toList()
                .observeOn(mainScheduler)
                .subscribe(cars -> view.addCars(cars));