/// <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(); }
public void SetExtendedLocationListenerAdapter(ExtendedLocationListenerAdapter adapter) { currentAdapter = adapter; }