コード例 #1
0
 private void SetHistoryParty(IEnumerable <Party> parties)
 {
     Device.BeginInvokeOnMainThread(() =>
     {
         PopulateObservableCollection(PartyHistory, parties);
         HistoryPartisUpdated?.Invoke(this, EventArgs.Empty);
     });
 }
コード例 #2
0
 public void ClearData()
 {
     Device.BeginInvokeOnMainThread(() =>
     {
         SelectedPartys.Clear();
         PartyHistory.Clear();
         SelectedPartiesUpdated?.Invoke(this, EventArgs.Empty);
         HistoryPartisUpdated?.Invoke(this, EventArgs.Empty);
     });
 }