예제 #1
0
 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();
 }
예제 #2
0
 public void MoveGroupDown(GroupListItem item)
 {
     MoveItem(item.Group, 1);
     _needsUpdate = true;
 }
예제 #3
0
 public void EditGroup(GroupListItem item)
 {
     _groupProxy = new GroupProxy(item.Group);
     NavigatePush(STATE_GROUP_EDIT);
 }