mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Add comments
This commit is contained in:
parent
fd515deeb2
commit
a77c3c45d4
1 changed files with 3 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue