Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@rozkminiacz
Last active March 3, 2020 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rozkminiacz/f2a29644b1a9ee9c0750da44c11f2994 to your computer and use it in GitHub Desktop.
Save rozkminiacz/f2a29644b1a9ee9c0750da44c11f2994 to your computer and use it in GitHub Desktop.
package tech.michalik.mvptesting
import io.reactivex.Scheduler
import io.reactivex.schedulers.Schedulers
class TrampolineTestSchedulers : SchedulerProvider {
override val main: Scheduler
get() = Schedulers.trampoline()
override val io: Scheduler
get() = Schedulers.trampoline()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment