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()); } }
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(); }