public LineHeightForTextView(UIView container, UIView control, Element element) { _nativeTextView = control as UITextView; _formsEditor = element as Editor; _manager = new LineHeightManager(); _nativeTextView.LayoutManager.Delegate = _manager; }
public void OnDetached() { _nativeTextView.LayoutManager.Delegate = null; _nativeTextView.Text = _nativeTextView.Text; _manager.Dispose(); _manager = null; _nativeTextView = null; _formsEditor = null; }