public void Move(TModel model, int index) { if (!ModelViewMapping.ContainsKey(model)) { return; } TView view = ModelViewMapping[model]; _moveView(view, index); }
public void Insert(TModel model, int index) { if (ModelViewMapping.ContainsKey(model)) { return; } TView view = CreateView(model); ModelViewMapping[model] = view; _moveView(view, index); }