public override void UpdateItems() { _itemsList.Clear(); for (int i = 0; i < _items.Count; i++) { ActionListItem listItem = new ActionListItem(_items[i]); listItem.AdditionalProperties[KEY_IS_UP_BUTTON_FOCUSED] = i == _lastUpIndex; listItem.AdditionalProperties[KEY_IS_DOWN_BUTTON_FOCUSED] = i == _lastDownIndex; _itemsList.Add(listItem); } _itemsList.FireChange(); }
public void EditAction(ActionListItem item) { _actionProxy = new ActionProxy(item.GroupAction); NavigatePush(STATE_ACTION_EDIT); }
public void MoveActionDown(ActionListItem item) { MoveItem(item.GroupAction, 1); }
public void MoveActionUp(ActionListItem item) { MoveItem(item.GroupAction, -1); }