diff --git a/app/src/main/java/fr/free/nrw/commons/nearby/mvp/fragments/NearbyMapFragment.java b/app/src/main/java/fr/free/nrw/commons/nearby/mvp/fragments/NearbyMapFragment.java index 558683093..746dcc94a 100644 --- a/app/src/main/java/fr/free/nrw/commons/nearby/mvp/fragments/NearbyMapFragment.java +++ b/app/src/main/java/fr/free/nrw/commons/nearby/mvp/fragments/NearbyMapFragment.java @@ -127,7 +127,6 @@ public class NearbyMapFragment extends CommonsDaggerSupportFragment implements N @Override public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { - Log.d("deneme2", "onViewCreated is called"); super.onViewCreated(view, savedInstanceState); this.getView().setFocusableInTouchMode(true); this.getView().requestFocus(); @@ -152,12 +151,10 @@ public class NearbyMapFragment extends CommonsDaggerSupportFragment implements N public void onAttach(Context context) { super.onAttach(context); ((NearbyParentFragment)getParentFragment()).childMapFragmentAttached(); - Log.d("deneme2", ".childMapFragmentAttached() is fired"); } @Override public MapView setupMapView(Bundle savedInstanceState) { - Log.d("deneme2", "setuo map view is called"); Timber.d("setting up map view"); boolean isDarkTheme = applicationKvStore.getBoolean("theme", false); MapboxMapOptions options = new MapboxMapOptions() @@ -191,7 +188,6 @@ public class NearbyMapFragment extends CommonsDaggerSupportFragment implements N // create map mapView.onCreate(savedInstanceState); mapView.getMapAsync(mapboxMap -> { - Log.d("deneme2","nearby map is ready"); viewsAreReadyCallback.nearbyMapViewReady(); /*LocalizationPlugin localizationPlugin = new LocalizationPlugin(mapView, mapboxMap); diff --git a/app/src/main/java/fr/free/nrw/commons/nearby/mvp/fragments/NearbyParentFragment.java b/app/src/main/java/fr/free/nrw/commons/nearby/mvp/fragments/NearbyParentFragment.java index 99f531614..3a60b89ce 100644 --- a/app/src/main/java/fr/free/nrw/commons/nearby/mvp/fragments/NearbyParentFragment.java +++ b/app/src/main/java/fr/free/nrw/commons/nearby/mvp/fragments/NearbyParentFragment.java @@ -118,7 +118,6 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment @Override public void onConfigurationChanged(@NonNull Configuration newConfig) { super.onConfigurationChanged(newConfig); - Log.d("deneme3","oncongi changed fragmenr"+this); } @Nullable diff --git a/app/src/main/java/fr/free/nrw/commons/nearby/mvp/presenter/NearbyParentFragmentPresenter.java b/app/src/main/java/fr/free/nrw/commons/nearby/mvp/presenter/NearbyParentFragmentPresenter.java index 811c750d0..a47006c59 100644 --- a/app/src/main/java/fr/free/nrw/commons/nearby/mvp/presenter/NearbyParentFragmentPresenter.java +++ b/app/src/main/java/fr/free/nrw/commons/nearby/mvp/presenter/NearbyParentFragmentPresenter.java @@ -122,7 +122,6 @@ public class NearbyParentFragmentPresenter */ @Override public void nearbyMapViewReady() { - Log.d("deneme2","nearbyMapViewReady"); nearbyMapViewReady = true; if (nearbyOperationsInitialized) { initializeMapOperations(); @@ -130,7 +129,6 @@ public class NearbyParentFragmentPresenter } public void nearbyOperationsInitialized() { - Log.d("deneme2","nearbyOperationsInitialized"); nearbyOperationsInitialized = true; if (nearbyMapViewReady) { initializeMapOperations(); @@ -138,7 +136,6 @@ public class NearbyParentFragmentPresenter } public void initializeMapOperations() { - Log.d("deneme2","initializeMapOperations"); Timber.d("Nearby map view is created and ready"); updateMapAndList(LOCATION_SIGNIFICANTLY_CHANGED, null); // TODO: document this prpoblem, if updateMapAndList is not called at checkGPS then this method never called, setup map view never ends