Skip to content
Interop library for exposing Android's main thread and loopers as RxJava 3 Schedulers directly.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
androidinterop
gradle/wrapper Initial set of uploads Sep 2, 2019
.gitignore Initial set of uploads Sep 2, 2019
.travis.yml
LICENSE Initial commit Sep 2, 2019
README.md Update Jacoco Sep 2, 2019
build.gradle Fix yml, add Jacoco Sep 2, 2019
gradle.properties Initial set of uploads Sep 2, 2019
gradlew Initial set of uploads Sep 2, 2019
gradlew.bat
settings.gradle Initial set of uploads Sep 2, 2019

README.md

RxJavaAndroidInterop

Interop library for exposing Android's main thread and loopers as RxJava 3 Schedulers directly.

Ported from https://github.com/ReactiveX/RxAndroid

codecov.io Maven Central

RxJava 3: Maven Central

dependencies {
    implementation "com.github.akarnokd:rxjava3-android-interop:3.0.0-RC2"
}

Usage

import hu.akarnokd.rxjava3.android.*;
import io.reactivex.rxjava3.core.*;

Flowable.intervalRange(1, 10, 1, 1, TimeUnit.SECONDS, AndroidInteropSchedulers.mainThread())
.subscribe(System.out::println);

plugins for overrides

import hu.akarnokd.rxjava3.android.*;

AndroidInteropPlugins.setMainThreadSchedulerHandler(scheduler -> scheduler);
You can’t perform that action at this time.