Skip to content

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

License

Notifications You must be signed in to change notification settings

donglua/RxNetwork2-Android

 
 

Repository files navigation

RxNetwork2-Android

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

About My Fork

Port to RxJava2

How to use

In Android Manifest add

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

Call to receive stream

RxNetwork.stream(context)

or

RxNetwork.flow(context)

Download

compile 'com.laimiux.rxnetwork:rxnetwork:0.0.4'
compile 'cn.jingzhuan.lib:rxnetwork:1.0.0'

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%