Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
 private void BackToOverviewFromDevices(DevicesTracker view)
 {
     GetTrackersOverView();
 }