public override void OnPause() { base.OnPause(); architectView.OnPause(); locationProvider.Stop(); architectView.UnregisterSensorAccuracyChangeListener(this); }
protected override void OnDestroy() { base.OnDestroy(); if (architectView != null) { architectView.UnregisterSensorAccuracyChangeListener(this); architectView.OnDestroy(); } }