protected override void OnDestroy() { base.OnDestroy(); if (architectView != null) { architectView.OnDestroy(); } }
protected override void OnDestroy() { base.OnDestroy(); if (architectView != null) { architectView.UnregisterSensorAccuracyChangeListener(this); architectView.OnDestroy(); } }
/// <Docs>Perform any final cleanup before an activity is destroyed.</Docs> /// Resum beacon discovery /// <summary> /// Raises the destroy event. /// </summary> protected override void OnDestroy() { base.OnDestroy(); if (architectView != null) { this.architectView.UnregisterSensorAccuracyChangeListener(this); architectView.OnDestroy(); } App.mainPage.FoundBeacon = false; App.mainPage.ResumeTracking(); }
protected override void OnDestroy() { base.OnDestroy(); /* * Deletes all cached files of this instance of the ArchitectView. * This guarantees that internal storage for this instance of the ArchitectView * is cleaned and app-memory does not grow each session. * * This should be called before architectView.onDestroy */ architectView.ClearCache(); architectView.OnDestroy(); // Mandatory ArchitectView lifecycle call }
public override void OnDestroy() { base.OnDestroy(); architectView.ClearCache(); architectView.OnDestroy(); }