private async void DownloadDevicesData(TrackersOverview view) { using (UserDialogs.Instance.Loading("loading")) { var model = await GetTrackersData(); var devicesList = model.Readings.Where(opp => opp.ReadingCategory == ReadingCategoryTypeName.FitBit).ToList(); ContentStackLayout.Children.Clear(); var view2 = new DevicesTracker(devicesList); ContentStackLayout.Children.Add(view2); } }
private void BackToOverviewFromDevices(DevicesTracker view) { GetTrackersOverView(); }