protected override void OnDetached() { Container.RemoveConstraints(_constraint); _textLabel.RemoveFromSuperview(); _textLabel.Dispose(); _constraint = null; _textLabel = null; }
protected override void OnDetached() { Container.RemoveConstraints(_constraint); _textLabel.RemoveFromSuperview(); _textLabel.Dispose(); _constraint = null; _textLabel = null; System.Diagnostics.Debug.WriteLine($"Detached {GetType().Name} from {Element.GetType().FullName}"); }