Thursday, 10 September 2020

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.


Android Arsenal

from The Android Arsenal

No comments:

Post a Comment