vivekverma6594 / Network-State-Receiver

Simple implementation of Broadcast Receiver to check if the device is connected to the Internet. A snackbar message is show when disconnected and disappears when the device is back online

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Network-State-Receiver

Simple implementation of Broadcast Receiver to check if the device is connected to the Internet. A snackbar at the botton indicates if the device is connected to the internet. Just implement the NetworkStateReceiverListener interface in your activity and override the onNetworkAvailable and onNetworkUnavailable methods to check for internet connectivity in your application.

About

Simple implementation of Broadcast Receiver to check if the device is connected to the Internet. A snackbar message is show when disconnected and disappears when the device is back online

License:Apache License 2.0


Languages

Language:Kotlin 100.0%