Пример #1
0
        public PollutionsPage()
        {
            InitializeComponent ();

            BindingContext = vm =new PolutionsPageViewModel ();

            Device.StartTimer (new TimeSpan (0, 0, 4), vm.GetData);
        }
Пример #2
0
        public PollutionsPage()
        {
            InitializeComponent();

            BindingContext = vm = new PolutionsPageViewModel();

            Device.StartTimer(new TimeSpan(0, 0, 4), vm.GetData);
        }