Пример #1
0
        private async void Button_Clicked(object sender, EventArgs e)
        {
            mylabel.Text = "Count in DB: " + (await StepController.GetTodaySteps_DB()).ToString();

            mylabel2.Text = "Count in Properties: " + (await StepController.GetTodaySteps_Properties()).ToString();

            mylabel3.Text = "Count in StepCounter.cs: " + (DependencyService.Get <IStepCounter>().Steps);
        }