/RxBroadcastReceiver

Simple RxJava2 binding for Android BroadcastReceiver

Primary LanguageJavaApache License 2.0Apache-2.0

ReactiveBroadcast

Simple RxJava2 binding for Android BroadcastReceiver

Build Status codecov Maven Central Nexus Snapshots License

Usage

RxBroadcastReceivers.fromIntentFilter(context, intentFilter)
        .subscribe(intent -> {
            // do something with broadcast
        });

What's new:

Download

To use library with Gradle

dependencies {
  implementation 'com.github.karczews:rx2-broadcast-receiver:1.0.6'
}

or using Maven:

<dependency>
    <groupId>com.github.karczews</groupId>
    <artifactId>rx2-broadcast-receiver</artifactId>
    <version>1.0.6</version>
</dependency>