Java Code Examples for io.reactivex.schedulers.Schedulers.io()

The following are Jave code examples for showing how to use io() of the io.reactivex.schedulers.Schedulers class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: exchange-rates-mvvm   File: CurrenciesActivityModule.java   View Source Code Vote up 5 votes
@Provides
@CurrenciesActivityScope
@Override
public GetCurrenciesUseCase provideGetCurrenciesUseCase(final CurrencyRepository currencyRepository,
                                                        final PreferencesData preferencesData) {
    return new GetCurrenciesUseCase(Schedulers.io(), AndroidSchedulers.mainThread(),
            currencyRepository,
            preferencesData);
}
 
Example 2
Project: Reactive-Android-Programming   File: Sandbox.java   View Source Code Vote up 5 votes
private void demo0() {
    Schedulers.single();
    Schedulers.trampoline();
    Schedulers.newThread();
    Schedulers.computation();
    Schedulers.io();
    Schedulers.io();
}
 
Example 3
Project: GitHub   File: AppSchedulerProvider.java   View Source Code Vote up 4 votes
@Override
public Scheduler io() {
    return Schedulers.io();
}
 
Example 4
Project: GitHub   File: SchedulerProvider.java   View Source Code Vote up 4 votes
@Override
@NonNull
public Scheduler io() {
    return Schedulers.io();
}
 
Example 5
Project: Wallpapers-Android-Clean-Architecture   File: Rx.java   View Source Code Vote up 4 votes
@Provides @Singleton @Named(Rx.IO) Scheduler provideIoScheduler() {
    return Schedulers.io();
}
 
Example 6
Project: TheNounProject   File: SchedulerProvider.java   View Source Code Vote up 4 votes
@NonNull
@Override
public Scheduler io() {
    return Schedulers.io();
}
 
Example 7
Project: cleanarchitecture-unidirectional   File: TimezoneGetUseCaseTest.java   View Source Code Vote up 4 votes
@Before
public void setUp() throws Exception {
    MockitoAnnotations.initMocks(this);
    useCase = new TimezoneGetUseCase(Schedulers.io(), Schedulers.io(), restService, authService);
}
 
Example 8
Project: LabDayApp   File: RxSchedulersFacade.java   View Source Code Vote up 4 votes
public Scheduler io() {
    return Schedulers.io();
}
 
Example 9
Project: reactive-architectures-playground   File: AppModule.java   View Source Code Vote up 4 votes
@Provides @Singleton @IOScheduler static Scheduler ioScheduler() {
    return Schedulers.io();
}
 
Example 10
Project: sample-code-posts   File: NetModule.java   View Source Code Vote up 4 votes
@Provides
@Singleton
RxSchedulers providesRxSchedulers() {
    return new RxSchedulers(Schedulers.io(), Schedulers.computation(), Schedulers.trampoline(),
            AndroidSchedulers.mainThread());
}
 
Example 11
Project: PhoneMall   File: AppSchedulerProvider.java   View Source Code Vote up 4 votes
@Override
public Scheduler io() {
  return Schedulers.io();
}
 
Example 12
Project: pl   File: IOAccessorFactory.java   View Source Code Vote up 4 votes
@Inject IOAccessorFactory(@ServerScheduler Scheduler syncScheduler, Provider<Injector> injector) {
    super(syncScheduler, Schedulers.io(), injector);
}
 
Example 13
Project: DailyTech   File: AppSchedulerProvider.java   View Source Code Vote up 4 votes
@Override
public Scheduler io() {
    return Schedulers.io();
}
 
Example 14
Project: android-mvp-architecture   File: AppSchedulerProvider.java   View Source Code Vote up 4 votes
@Override
public Scheduler io() {
    return Schedulers.io();
}
 
Example 15
Project: eggs-android   File: AppSchedulerProvider.java   View Source Code Vote up 4 votes
@Override
public Scheduler io() {
    return Schedulers.io();
}
 
Example 16
Project: EosCommander   File: EoscSchedulerProvider.java   View Source Code Vote up 4 votes
@Override
public Scheduler io() {
    return Schedulers.io();
}
 
Example 17
Project: RetroMusicPlayer   File: SchedulerProvider.java   View Source Code Vote up 4 votes
@Override
@NonNull
public Scheduler io() {
    return Schedulers.io();
}
 
Example 18
Project: android-mvvm-architecture   File: AppSchedulerProvider.java   View Source Code Vote up 4 votes
@Override
public Scheduler io() {
    return Schedulers.io();
}
 
Example 19
Project: exchange-rates-mvvm   File: CurrenciesActivityModule.java   View Source Code Vote up 4 votes
@Provides
@CurrenciesActivityScope
@Override
public GetCurrenciesRatesDate provideGetCurrenciesRatesDate(final PreferencesData preferencesData) {
    return new GetCurrenciesRatesDate(Schedulers.io(), AndroidSchedulers.mainThread(), preferencesData);
}
 
Example 20
Project: RxPaper2   File: RxPaperBook.java   View Source Code Vote up 2 votes
/**
 * Open the main {@link Book} running its operations on {@link Schedulers#io()}.
 * <p/>
 * Requires calling {@link RxPaperBook#init(Context)} at least once beforehand.
 * 
 * @return new RxPaperBook
 */
public static RxPaperBook with() {
    assertInitialized();
    return new RxPaperBook(Schedulers.io());
}