private async void OnRefresh(object sender, EventArgs e) { await Task.Factory.StartNew(() => SensorsEventsListVM.PopulateCollection()); ((ListView)sender).IsRefreshing = false; }
public async void PopulateView() { await Task.Factory.StartNew(() => SensorsEventsListVM?.PopulateCollection()); }