NetworkX

Additional

Language
Kotlin
Version
1.0 (Jul 27, 2020)
Created
Jul 27, 2020
Updated
Jul 27, 2020
Owner
Romman Sabbir (rommansabbir)
Contributor
Romman Sabbir (rommansabbir)
1
Activity
Badge
Generate
Download
Source code
APK file

Commercial

NetworkX

An easy & handy library to monitor device internet connection status

Features

  • The real-time update on internet connection status changed
  • Lightweight
  • Provide both regular data or Live Data to observe from a fragment or an activity
  • Thread Safe
  • Cancel monitoring Internet connection status any time

How does it work?

Once you start observing internet connection status by calling from your Application class onCreate() method, NetworkX will start monitor internet connection status immediately under a CoroutineScope in a IO Thread for the thread safe purpose. NetworkX provide both traditional data which is Boolean or MutableLiveData so that you can observe the status in a fragment or an activity.


Step 2. Add the dependency.

    dependencies {
            implementation 'com.github.rommansabbir:NetworkX:Tag'
    }