示例#1
0
        public BoundImageView(Context context, IAttributeSet attrs) : base(context, attrs)
        {
            _context = context;
            ViewBinding.FillBoundView(this, context, attrs);

            TypedArray attrArr2 = _context.ObtainStyledAttributes(attrs, Resource.Styleable.BoundButton);

            ClickBinding = attrArr2.GetString(Resource.Styleable.BoundButton_onclick);
        }
示例#2
0
 public BoundConditional(Context context, IAttributeSet attrs) : base(context, attrs)
 {
     _context = context;
     ViewBinding.FillBoundView(this, context, attrs);
     if (Binding != null && Binding.StartsWith("!"))
     {
         Binding  = Binding.Substring(1);
         Inverted = true;
     }
     BindValue = attrs.GetAttributeProperty(context, Resource.Styleable.BoundConditional, Resource.Styleable.BoundConditional_bindvalue);
 }
        public BoundTextView(Context context, IAttributeSet attrs) : base(context, attrs)
        {
            _context = context;

            ViewBinding.FillBoundView(this, context, attrs);
        }