SkillAgentSearch skills...

RxJavaAndroidInterop

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

Install / Use

/learn @akarnokd/RxJavaAndroidInterop
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

RxJavaAndroidInterop

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

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

<a href='https://github.com/akarnokd/RxJavaAndroidInterop/actions?query=workflow%3A%22Java+CI+with+Gradle%22'><img src='https://github.com/akarnokd/RxJavaAndroidInterop/workflows/Java%20CI%20with%20Gradle/badge.svg'></a> codecov.io Maven Central

RxJava 3: Maven Central


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

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);

Related Skills

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated2y ago
Forks0

Languages

Java

Security Score

80/100

Audited on Sep 8, 2023

No findings