Skip to content

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

Notifications You must be signed in to change notification settings

vivekverma6594/Network-State-Receiver

Repository files navigation

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages