Пример #1
0
        protected override global::Android.Views.View GetCellCore(Cell item, global::Android.Views.View convertView, ViewGroup parent, Context context)
        {
            if ((_view = convertView as EntryCellView) == null)
            {
                _view = new EntryCellView(context, item);
            }
            else
            {
                _view.TextChanged      = null;
                _view.FocusChanged     = null;
                _view.EditingCompleted = null;
            }

            UpdateLabel();
            UpdateLabelColor();
            UpdatePlaceholder();
            UpdateKeyboard();
            UpdateHorizontalTextAlignment();
            UpdateText();
            UpdateIsEnabled();
            UpdateHeight();

            _view.TextChanged      = OnTextChanged;
            _view.EditingCompleted = OnEditingCompleted;

            return(_view);
        }