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); }
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); }
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); }