コード例 #1
0
        private void SetSelectedParties(IEnumerable <Party> parties)
        {
            Device.BeginInvokeOnMainThread(() =>
            {
                PopulateObservableCollection(SelectedPartys, parties);

                SelectedPartiesUpdated?.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);
     });
 }