Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
package tech.michalik.mvptesting
import io.reactivex.Scheduler
import io.reactivex.schedulers.Schedulers
interface SchedulerProvider {
val main: Scheduler
val io: Scheduler
class AndroidSchedulerProvider : SchedulerProvider {
override val main: Scheduler
get() = AndroidSchedulers.mainThread()
override val io: Scheduler
get() =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment