Detect Network Connectivity and TimeZone changes in Xamarin Forms

This article describes how to detect the network connectivity status and time zone changes in Xamarin forms in all the three (Windows, Android & ios) platforms.

This article is in continuation to previous article – MVVM in Xamarin Forms UWP 10, implementing these changes in MVVM pattern.
Detect Network Connectivity:
In general, network is a platform specific component and requires the platform specific
code changes in all the platforms. But in Xamarin forms, there is cross connectivity
plugin which will take care of all these platform specific implementations. Hence
write the code in Xamarin forms project and run in all the platforms. Install the Xam.Plugin.Connectivity plugin from NuGet in to Xamarin forms project
and it’s platform specific projects

Use below code to get the network status whether connected or disconnected.