void HandleSortButtonTouchUpInside(object sender, EventArgs e) { ObservableCollection <Character> oldList = new ObservableCollection <Character>(CombatState.CombatList); CombatState.SortCombatList(true, true); ReloadList(oldList); MainUI.SaveCombatState(); }
void HandlePrevButtonTouchUpInside(object sender, EventArgs e) { int index1 = ActiveCharacterIndex; CombatState.MovePrevious(); int index2 = ActiveCharacterIndex; ReloadListRows(new List <int> { index1, index2 }); MainUI.SaveCombatState(); }