@Override protected void onResume() { super.onResume(); initialize(); refreshNotes(); spinnerAnimation.start(); initializeMap(); measurementPresenter.registerListener(this); initializeRouteOverlay(); traceOverlay.startDrawing(); checkConnection(); updater = new HeatMapUpdater(); heatMapDetector = detectMapIdle(mapView, HEAT_MAP_UPDATE_TIMEOUT, updater); soundTraceDetector = detectMapIdle(mapView, SOUND_TRACE_UPDATE_TIMEOUT, this); }
@Override protected void onResume() { super.onResume(); refresh(); measurementPresenter.registerListener(this); }