public override void OnResume() { base.OnResume(); architectView.OnResume(); if (!locationProvider.Start()) { Toast.MakeText(Context, "Could not start Location updates. Make sure that locations and location providers are enabled and Runtime Permissions are granted.", ToastLength.Long).Show(); } architectView.RegisterSensorAccuracyChangeListener(this); }