private void TakeDriverOnline()
 {
     availablityListener = new AvailablityListener();
     availablityListener.Create(mLastLocation);
     availablityListener.RideAssigned  += AvailablityListener_RideAssigned;
     availablityListener.RideTimedOut  += AvailablityListener_RideTimedOut;
     availablityListener.RideCancelled += AvailablityListener_RideCancelled;
 }
Esempio n. 2
0
 private void TakeDriverOnline()
 {
     if (mLastLocation == null)
     {
         return;
     }
     else
     {
         availablityListener = new AvailablityListener(this);
         availablityListener.Create(mLastLocation);
         availablityListener.RideAssigned  += AvailablityListener_RideAssigned;
         availablityListener.RideTimedOut  += AvailablityListener_RideTimedOut;
         availablityListener.RideCancelled += AvailablityListener_RideCancelled;
     }
 }