// public ToDoListToDoView(AbsViewController ctrl) : base(ctrl) // { // Init(); // } public void Init() { todoListInputView = new ToDoListInputView(AddAction); todoListItemsLayout = new VerticalLayout(); new SpaceView(4).AddTo(this); todoListInputView.AddTo(this); new SpaceView(4).AddTo(this); todoListItemsLayout.AddTo(new ScrollLayout().AddTo(this)); }
// public ToDoListHideView(AbsViewController ctrl) : base(ctrl) // { // Init(); // } private void Init() { todoListItemsLayout = new VerticalLayout(); new SpaceView(4).AddTo(this); todoListItemsLayout.AddTo(new ScrollLayout().AddTo(this)); }