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