Esempio n. 1
0
 private void subCategory_OnSelectedIndexChanged(object sender, EventArgs e)
 {
     if (subCategory.Items.Count > 0)
     {
         Helpers.Settings.SubCategorySettings = subCategory.SelectedItem.ToString();
         BeaconService.Start();
         this.Navigation.PushModalAsync(new Navigator());
     }
 }
Esempio n. 2
0
        protected override void OnStart()
        {
            BeaconService.Entered += OnBeaconServiceEnter;
            BeaconService.Left    += OnBeaconServiceLeft;

            var devices = App.Settings.Beacons.Items.Where(b => b.Device != null).Select(b => b.Device);

            BeaconService.Start(devices);

            NotificationService.Start();
        }