private void SetSelectedParties(IEnumerable <Party> parties) { Device.BeginInvokeOnMainThread(() => { PopulateObservableCollection(SelectedPartys, parties); SelectedPartiesUpdated?.Invoke(this, EventArgs.Empty); }); }
public void ClearData() { Device.BeginInvokeOnMainThread(() => { SelectedPartys.Clear(); PartyHistory.Clear(); SelectedPartiesUpdated?.Invoke(this, EventArgs.Empty); HistoryPartisUpdated?.Invoke(this, EventArgs.Empty); }); }