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:
- In gradle of your project inside repositories add:
maven { url 'https://jitpack.io' }
- In build.gradle of your app add library:
implementation 'com.github.lony85:CheckInternetConnection:1.0.1'
How it works:
NetworkChecker(context).isInternetConnected
.isWifiConnected
.isMobileDataConnected
.isEthernetConnected
These all will return a Boolean.
Licence
Licensed under the MIT License.