Skip to content

lony85/CheckInternetConnection

Repository files navigation

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 settings.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.2'

How it works:

NetworkChecker(context).isInternetConnected
                        .isWifiConnected
                        .isMobileDataConnected
                        .isEthernetConnected

These all will return a Boolean.

Licence

Licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages