[Remove]
移除废弃的功能集合 Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -11,7 +11,6 @@ import com.mogo.service.cloud.passport.IMogoPassportManager;
|
||||
import com.mogo.service.cloud.socket.IMogoSocketManager;
|
||||
import com.mogo.service.cloud.socket.IMogoWebSocketManager;
|
||||
import com.mogo.service.datamanager.IMogoDataManager;
|
||||
import com.mogo.service.entrance.IMogoEntranceButtonController;
|
||||
import com.mogo.service.eventpanel.IEventPanelProvider;
|
||||
import com.mogo.service.fragmentmanager.IMogoFragmentManager;
|
||||
import com.mogo.service.imageloader.IMogoImageloader;
|
||||
@@ -22,7 +21,6 @@ import com.mogo.service.module.IMogoActionManager;
|
||||
import com.mogo.service.module.IMogoMarkerService;
|
||||
import com.mogo.service.module.IMogoRegisterCenter;
|
||||
import com.mogo.service.network.IMogoNetwork;
|
||||
import com.mogo.service.obu.IMogoCrashWarnProvider;
|
||||
import com.mogo.service.share.IMogoShareManager;
|
||||
import com.mogo.service.share.IMogoTanluProvider;
|
||||
import com.mogo.service.share.IMogoTanluUiProvider;
|
||||
@@ -161,13 +159,6 @@ public interface IMogoServiceApis extends IProvider {
|
||||
IMogoRefreshStrategyController getRefreshStrategyControllerApi();
|
||||
|
||||
|
||||
/**
|
||||
* 获取入口按钮控制器
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
IMogoEntranceButtonController getEntranceButtonController();
|
||||
|
||||
/**
|
||||
* 获取顶部1/2屏界面管理类
|
||||
*
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.mogo.service.entrance;
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020-04-16
|
||||
* <p>
|
||||
* 入口按钮顺序:从上到下
|
||||
*/
|
||||
public enum ButtonIndex {
|
||||
|
||||
/**
|
||||
* 第一个
|
||||
*/
|
||||
BUTTON1,
|
||||
|
||||
/**
|
||||
* 第二个
|
||||
*/
|
||||
BUTTON2;
|
||||
}
|
||||
@@ -1,75 +0,0 @@
|
||||
package com.mogo.service.entrance;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020-04-16
|
||||
* <p>
|
||||
* 入口按钮
|
||||
*/
|
||||
public interface IMogoEntranceButtonController extends IProvider {
|
||||
/**
|
||||
* 自车求助
|
||||
*/
|
||||
int NOTICE_TYPE_SEEK_HELP = 1007;
|
||||
|
||||
/**
|
||||
* 获取入口按钮实例
|
||||
*
|
||||
* @param index
|
||||
* @return
|
||||
*/
|
||||
TextView getButton(ButtonIndex index);
|
||||
|
||||
/**
|
||||
* 添加低层级view,使用ViewGroup.addView(v,0)实现
|
||||
* 可指定x,y位置
|
||||
*
|
||||
* @param view 将要添加的view
|
||||
* @param x leftMargin
|
||||
* @param y topMargin
|
||||
*/
|
||||
void addBottomLayerView(View view, int x, int y);
|
||||
|
||||
/**
|
||||
* 移除对应的底层view
|
||||
*
|
||||
* @param view 待移除view
|
||||
*/
|
||||
void removeBottomLayerView(View view);
|
||||
|
||||
/**
|
||||
* 添加左下角功能View,按顺序添加到最底端
|
||||
*
|
||||
* @param view 待添加view
|
||||
*/
|
||||
void addLeftFeatureView(View view);
|
||||
|
||||
/**
|
||||
* 移除左下角功能按钮
|
||||
*
|
||||
* @param view 待移除view
|
||||
*/
|
||||
void removeLeftFeatureView(View view);
|
||||
|
||||
/**
|
||||
* 根据noticeType添加左侧提示
|
||||
*
|
||||
* @param noticeType {@link #NOTICE_TYPE_SEEK_HELP}...
|
||||
* @param iconRes 本地 icon res
|
||||
* @param content 提示内容
|
||||
*/
|
||||
void showLeftNoticeByType(int noticeType, int iconRes, String content);
|
||||
|
||||
/**
|
||||
* 移除noticeType,需要与{@link #showLeftNoticeByType(int, int, String)}成对使用
|
||||
*
|
||||
* @param noticeType {@link #NOTICE_TYPE_SEEK_HELP}...
|
||||
*/
|
||||
void hideLeftNoticeByType(int noticeType);
|
||||
|
||||
}
|
||||
@@ -16,7 +16,6 @@ import com.mogo.service.cloud.passport.IMogoPassportManager;
|
||||
import com.mogo.service.cloud.socket.IMogoSocketManager;
|
||||
import com.mogo.service.cloud.socket.IMogoWebSocketManager;
|
||||
import com.mogo.service.datamanager.IMogoDataManager;
|
||||
import com.mogo.service.entrance.IMogoEntranceButtonController;
|
||||
import com.mogo.service.eventpanel.IEventPanelProvider;
|
||||
import com.mogo.service.fragmentmanager.IMogoFragmentManager;
|
||||
import com.mogo.service.imageloader.IMogoImageloader;
|
||||
@@ -149,11 +148,6 @@ public class MogoServiceApis implements IMogoServiceApis {
|
||||
return getApiInstance(IMogoRefreshStrategyController.class, MogoServicePaths.PATH_REFRESH_STRATEGY_API);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IMogoEntranceButtonController getEntranceButtonController() {
|
||||
return getApiInstance(IMogoEntranceButtonController.class, MogoServicePaths.PATH_ENTRANCE_BUTTON_API);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IMogoTopViewManager getTopViewManager() {
|
||||
return getApiInstance(IMogoTopViewManager.class, MogoServicePaths.PATH_EXTENSIONS_TOP_VIEW_MANAGER);
|
||||
|
||||
Reference in New Issue
Block a user