void AddColumn(DataSnapshot data, int index) { ColumnModel column = TableModel.GetColumnCell(data); column.SetReference(database.GetReferenceFromUrl(columnsRef.ToString()).Child(data.Key).Ref.ToString()); column.ColumnId = data.Key; column.SetTypeChangeListener(this); columns.Insert(index, column); columnsEditView.AddView(column.GetEditView(this).GetView(), index); }