コード例 #1
0
        private async void OnRefresh(object sender, EventArgs e)
        {
            await Task.Factory.StartNew(() => SensorsEventsListVM.PopulateCollection());

            ((ListView)sender).IsRefreshing = false;
        }
コード例 #2
0
 public async void PopulateView()
 {
     await Task.Factory.StartNew(() => SensorsEventsListVM?.PopulateCollection());
 }