void AddAllLocations() { var setup = new GeofenceSetup(); foreach (Location location in LocationDB.GetLocations().Where(l => l.Active)) { setup.Monitor(location); } }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); var test = new GeofenceSetup(); global::Xamarin.Forms.Forms.Init(this, bundle); Xamarin.FormsGoogleMaps.Init(this, bundle); LoadApplication(new App()); }