修改监听问题
This commit is contained in:
@@ -78,6 +78,7 @@ public class AMapViewWrapper implements IMogoMapView, IMogoMapUIController, Loca
|
||||
public AMapViewWrapper(MapAutoView mMapView) {
|
||||
Logger.i(TAG, "autoop--AMapViewWrapper: init");
|
||||
this.mMapView = mMapView;
|
||||
initListeners();
|
||||
this.mIMap = new AMapWrapper(this.mMapView.getMapAutoViewHelper(), this.mMapView, this);
|
||||
}
|
||||
|
||||
@@ -195,7 +196,7 @@ public class AMapViewWrapper implements IMogoMapView, IMogoMapUIController, Loca
|
||||
mMapView.onCreate(bundle);
|
||||
Logger.d(TAG, "map onCreate");
|
||||
initMapView();
|
||||
initListeners();
|
||||
|
||||
// initMyLocation();
|
||||
}
|
||||
}
|
||||
@@ -204,7 +205,6 @@ public class AMapViewWrapper implements IMogoMapView, IMogoMapUIController, Loca
|
||||
public void onResume() {
|
||||
if (mMapView != null) {
|
||||
mMapView.onResume();
|
||||
initListeners();
|
||||
Logger.d(TAG, "map onResume");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user