-
ConnectivityStatus is a class to check the internet connection, it gives you the true status about the connection, not just if the device connects to a network.
-
It also check the internet connection each 2 seconds.
-
The class uses flow with liveData to be lifecycle aware