Skip to content

karczews/RxBroadcastReceiver

Repository files navigation

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>