public override void UpdateItems() { _itemsList.Clear(); for (int i = 0; i < _items.Count; i++) { GroupListItem item = new GroupListItem(_items[i]); item.AdditionalProperties[KEY_IS_UP_BUTTON_FOCUSED] = i == _lastUpIndex; item.AdditionalProperties[KEY_IS_DOWN_BUTTON_FOCUSED] = i == _lastDownIndex; _itemsList.Add(item); } _itemsList.FireChange(); }
public void MoveGroupDown(GroupListItem item) { MoveItem(item.Group, 1); _needsUpdate = true; }
public void EditGroup(GroupListItem item) { _groupProxy = new GroupProxy(item.Group); NavigatePush(STATE_GROUP_EDIT); }