Example #1
0
        protected BaseValueCell(AContext context, Cell cell) : base(context, cell)
        {
            RemoveAccessoryStack();
            _Hint           = BaseTextView.Create <HintView>(ContentView, this, Resource.Id.CellHint);
            _CellValueStack = ValueStack();

            _Value = InstanceCreator.Create <TCell>(this, AndroidContext);
            // _Value = InstanceCreator<BaseCellView, AContext, TCell>.Create(this, AndroidContext);
            _CellValueStack.Add(_Value, Extensions.Layout.Match, Extensions.Layout.Wrap, GravityFlags.Fill | GravityFlags.Center);
        }
Example #2
0
 protected BaseAiTitledCell(AContext context, Cell cell) : base(context, cell)
 {
     ContentView = CreateContentView(Resource.Layout.CellLayout);
     _CellLayout = Layout();
     _Title      = BaseTextView.Create <TitleView>(ContentView, this, Resource.Id.CellTitle);
 }
Example #3
0
 protected BaseAiDescriptionCell(AContext context, Cell cell) : base(context, cell)
 {
     _Icon        = IconView.Create(ContentView, this, Resource.Id.CellIcon);
     _Description = BaseTextView.Create <DescriptionView>(ContentView, this, Resource.Id.CellDescription);
 }