[Update] 升级ARouter 版本,支持Fragment单利
[Change] 修改地图层、HMI层加载方式,采用ARouter方式获取Fragment实例进行加载;废弃MoGoWarningProvider使用MoGoHmiFragment接管IMoGoWaringProvider实现 Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -285,9 +285,5 @@ public interface IMogoServiceApis extends IProvider {
|
||||
*/
|
||||
IV2XProvider getV2XListenerManager();
|
||||
|
||||
/**
|
||||
* warning 模块
|
||||
*/
|
||||
IMoGoWaringProvider getWaringProviderApi();
|
||||
|
||||
}
|
||||
|
||||
@@ -3,16 +3,15 @@ package com.mogo.service.map;
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.mogo.map.IDestroyable;
|
||||
|
||||
public
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020/10/23
|
||||
*
|
||||
* <p>
|
||||
* 地图图层切换:高德地图 <-> 自研地图,过渡期使用
|
||||
*/
|
||||
interface IMogoMapFrameController extends IProvider, IDestroyable {
|
||||
public interface IMogoMapFrameController extends IProvider, IDestroyable {
|
||||
|
||||
void initDelegate( IMogoMapFrameController controller );
|
||||
void initDelegate(IMogoMapFrameController controller);
|
||||
|
||||
/**
|
||||
* 切换到高德2D
|
||||
|
||||
@@ -3,18 +3,13 @@ package com.mogo.service.map;
|
||||
import android.content.Context;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.mogo.map.CoordinatesTransformer;
|
||||
import com.mogo.map.IMogoMapViewInstanceHandler;
|
||||
import com.mogo.map.listener.IMogoHosListenerRegister;
|
||||
import com.mogo.map.location.IMogoLocationClient;
|
||||
import com.mogo.map.marker.IMogoMarkerManager;
|
||||
import com.mogo.map.navi.IMogoAimless;
|
||||
import com.mogo.map.navi.IMogoNavi;
|
||||
import com.mogo.map.overlay.IMogoOverlayManager;
|
||||
import com.mogo.map.search.drive.IMogoRoadSearch;
|
||||
import com.mogo.map.search.geo.IMogoGeoSearch;
|
||||
import com.mogo.map.search.inputtips.IMogoInputtipsSearch;
|
||||
import com.mogo.map.search.inputtips.query.MogoInputtipsQuery;
|
||||
import com.mogo.map.search.poisearch.IMogoPoiSearch;
|
||||
import com.mogo.map.search.poisearch.query.MogoPoiSearchQuery;
|
||||
import com.mogo.map.search.traffic.IMogoTrafficSearch;
|
||||
@@ -45,15 +40,6 @@ public interface IMogoMapService extends IProvider {
|
||||
@Deprecated
|
||||
IMogoLocationClient getLocationClient( Context context );
|
||||
|
||||
/**
|
||||
* 获取关键字搜索地址服务
|
||||
*
|
||||
* @param context
|
||||
* @param query
|
||||
* @return
|
||||
*/
|
||||
IMogoInputtipsSearch getInputtipsSearch( Context context, MogoInputtipsQuery query );
|
||||
|
||||
/**
|
||||
* 地理编码或逆地理编码服务
|
||||
*
|
||||
@@ -117,20 +103,6 @@ public interface IMogoMapService extends IProvider {
|
||||
*/
|
||||
IMogoOverlayManager getOverlayManager( Context context );
|
||||
|
||||
/**
|
||||
* 路线搜索
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
IMogoRoadSearch getRoadSearchApi();
|
||||
|
||||
/**
|
||||
* 地图实例
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
IMogoMapViewInstanceHandler getMapViewInstanceHandler();
|
||||
|
||||
/**
|
||||
* 交通态势查询
|
||||
*
|
||||
@@ -138,13 +110,6 @@ public interface IMogoMapService extends IProvider {
|
||||
*/
|
||||
IMogoTrafficSearch getTrafficSearchApi();
|
||||
|
||||
/**
|
||||
* 坐标转换工具
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
CoordinatesTransformer getCoordinatesTransformer();
|
||||
|
||||
/**
|
||||
* 获取地图版本号
|
||||
* @return
|
||||
|
||||
Reference in New Issue
Block a user