public override void Destroy() { scrollView = null; calcQuickBase.Dispose(); calcQuickBase = null; editTextA = null; editTextB = null; editTextC = null; result1 = null; result2 = null; result3 = null; textA = null; textB = null; textC = null; context = null; base.Destroy(); }
protected override void Dispose(bool disposing) { if (calcQuickBase != null) { calcQuickBase.Dispose(); calcQuickBase = null; } NSNotificationCenter.DefaultCenter.RemoveObserver(showNotification); NSNotificationCenter.DefaultCenter.RemoveObserver(hideNotification); base.Dispose(disposing); }