Пример #1
0
 /// <summary>
 ///     unregister resets context and settings. this should be called by every activity when it is destroyed
 ///     or doesn't use the ExtendedLocationListener anymore
 /// </summary>
 public void Unregister()
 {
     context                 = null;
     currentAdapter          = null;
     getLocationUpdates      = false;
     checkForExhibitsEnabled = false;
     checkedExhibits.Clear();
 }
Пример #2
0
 public void SetExtendedLocationListenerAdapter(ExtendedLocationListenerAdapter adapter)
 {
     currentAdapter = adapter;
 }