public LocationServiceConnection(LocationServiceBinder binder)
 {
     if (binder != null)
     {
         Binder = binder;
     }
 }
 public void OnServiceConnected(ComponentName name, IBinder binder)
 {
     LocationServiceBinder serviceBinder = binder as LocationServiceBinder;
     if (serviceBinder != null)
     {
         Binder = serviceBinder;
         Binder.IsBound = true;
         if (ServiceConnected != null)
         {
             ServiceConnected(this, new ServiceConnectedEventArgs {Binder = binder});
         }
         serviceBinder.Service.StartLocationUpdates();
     }
 }