Exemplo n.º 1
0
        public void Show(UIView parent, CGPoint position)
        {
            _keyboardListener = parent as IKeyboardListener;

            _keyboardListener?.Pause();

            Application.Instance.RegisterSchemeForEditMode(_scheme);
            Application.Instance.RegisterSchemeForViewMode(_scheme);

            var suggestionsSize = _suggestionsView.ChangeWidthAndLayout((float)parent.Frame.Width / 3f);

            Frame = new CGRect(position, suggestionsSize);

            parent.Add(this);
        }