This method is used to check weather WI-Fi is connected or not.
- isNetworkAvailable() : To check if Internet available on device
|Context||A reference of Activity context|
If internet connected then method will return true or false.
Check if device has internet connectivity
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0