Add comments

This commit is contained in:
neslihanturan 2019-05-21 13:55:52 +03:00
parent fd515deeb2
commit a77c3c45d4

View file

@ -73,8 +73,11 @@ public class NearbyParentFragmentPresenter
public void initializeNearbyOperations() {
locationManager.addLocationListener(this);
nearbyParentFragmentView.registerLocationUpdates(locationManager);
// Nearby buttons should be active, they should be deactive only during update
lockNearby(false);
//This will start a consequence to check GPS depending on different API
nearbyParentFragmentView.checkGps(locationManager);
//We will know when we went offline and online again
nearbyParentFragmentView.addNetworkBroadcastReceiver();
}