/rxnetwork-android

A simple util and example of how to track connectivity changes in Android applications.

Primary LanguageJavaApache License 2.0Apache-2.0

rxnetwork-android

A simple util and example of how to track connectivity changes in Android applications.

How to use

In Android Manifest add

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

Call to receive stream

RxNetwork.stream(context)

Download

compile 'com.laimiux.rxnetwork:rxnetwork:0.0.1'