DroidKaigi / conference-app-2018

The Official Conference App for DroidKaigi 2018 Tokyo
Apache License 2.0
1.35k stars 333 forks source link

Replaced computation schedulers by io when relevant #636

Closed oldergod closed 6 years ago

oldergod commented 6 years ago

Overview

RxJava's computation() is to be used on CPU intensive tasks. Most use cases in the DroidKaigi app are for I/O calls so I use the io scheduler instead. See https://github.com/ReactiveX/RxJava/blob/363f0381c2fcc9df287d771ffd2826c64c998145/src/main/java/io/reactivex/schedulers/Schedulers.java#L90-L136

takahirom commented 6 years ago

Thanks 👍