Check Internet Connection

CheckInternetConnection helps to find out if user`s Android device is connected to Internet or not.

This Library wrote with Kotlin Language.

How to use:

  1. In gradle of your project inside repositories add:
    maven { url 'https://jitpack.io' }
  1. In build.gradle of your app add library:

    implementation 'com.github.lony85:CheckInternetConnection:1.0.0'

How it works:

NetworkChecker(context).isInternetConnected

This will return a Boolean.

Licence

Licensed under the MIT License.

GitHub

View Github