Esempio n. 1
0
 private void WeatherServiceStop(ServiceApi api)
 {
     if (!api.ExistsAppWidget(this))
     {
         api.StopService(this, new Intent(this, typeof(WeatherService)));
     }
 }
Esempio n. 2
0
 private void GeoTrackingServiceStop(ServiceApi api)
 {
     if (!api.UseTrackCurrentLocation(this))
     {
         api.StopService(this, new Intent(this, typeof(GeoTrackingService)));
     }
 }