public ChamEditText(Context context, IAttributeSet attrs, int defStyle) : base(context, attrs, defStyle) { ((Activity)Context).LayoutInflater.Inflate(LayoutId, this); var headerTextView = FindViewById <TextView> (Resource.Id.ChamHeader); var editText = FindViewById <ClearableEditText> (EditTextId); ChamEditTextOwner = new ChamEditTextOwner(headerTextView, editText, attrs, defStyle); editText.FocusChange += editText_FocusChange; editText.AfterTextChangedEx += EditTextAfterTextChangedEx; editText.AfterTextChanged += EditTextAfterTextChanged; }
public new bool RequestFocus() { return(ChamEditTextOwner.RequestFocus()); }