in TrafficApp/MainPage.xaml.cs [202:211]
private async void NetworkInformation_NetworkStatusChanged(object sender)
{
await Helpers.CallOnUiThreadAsync(async () =>
{
var profile = NetworkInformation.GetInternetConnectionProfile();
bool isNetworkAvailable = profile != null;
this.UpdateNetworkStatus(isNetworkAvailable);
if (isNetworkAvailable) await this.ResetViewAsync();
});
}