public void ColumnReplaced(ColumnModel column, int index) { columns[index].DeleteView(); column_row_view.RemoveViewAt(index + ADDITIONAL_COLUMNS); columns[index] = column.GetView(parentActivity); column_row_view.AddView(columns[index].GetView(), index + ADDITIONAL_COLUMNS); }
public void ColumnAdded(ColumnModel model, int index) { ColumnView v = model.GetView(parentActivity); columns.Insert(index, v); column_row_view.AddView(v.GetView(), index + ADDITIONAL_COLUMNS); }
public void ColumnAdded(int index, CellModel cellModel, ColumnModel column) { CellView Cllv = cellModel.GetView(context); this.cells.Add(Cllv); layout.AddView(Cllv.GetView(), index * 2 + ADDITIONAL_ROWS); ColumnView Cmnv = column.GetView(context); this.columns.Add(Cmnv); layout.AddView(Cmnv.GetView(), index * 2 + ADDITIONAL_ROWS); }