protected GeolocationHelper() { // create a new service connection so we can get a binder to the service LocationServiceConnection = new GeolocationServiceConnection(null); // this event will fire when the Service connectin in the OnServiceConnected call LocationServiceConnection.ServiceConnected += (sender, e) => { Log.Debug(LogTag, "Service Connected"); // we will use this event to notify MainActivity when to start updating the UI LocationServiceConnected(this, e); }; }
protected GeolocationHelper() { // create a new service connection so we can get a binder to the service LocationServiceConnection = new GeolocationServiceConnection(null); // this event will fire when the Service connectin in the OnServiceConnected call LocationServiceConnection.ServiceConnected += (sender, e) => { Log.Debug(LogTag, "Service Connected"); // we will use this event to notify MainActivity when to start updating the UI LocationServiceConnected(this, e); }; }