Ejemplo n.º 1
0
        void AddAllLocations()
        {
            var setup = new GeofenceSetup();

            foreach (Location location in LocationDB.GetLocations().Where(l => l.Active))
            {
                setup.Monitor(location);
            }
        }
Ejemplo n.º 2
0
        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());
        }