Merge branch 'dev_navi_motion' into feature/v2.0.0
# Conflicts: # modules/mogo-module-extensions/src/main/java/com/mogo/module/extensions/entrance/EntranceFragment.java # modules/mogo-module-extensions/src/main/res/layout/module_ext_layout_entrance.xml # modules/mogo-module-extensions/src/main/res/values-ldpi/dimens.xml
This commit is contained in:
@@ -23,6 +23,7 @@ import com.mogo.service.network.IMogoNetwork;
|
||||
import com.mogo.service.statusmanager.IMogoMsgCenter;
|
||||
import com.mogo.service.statusmanager.IMogoStatusManager;
|
||||
import com.mogo.service.strategy.IMogoRefreshStrategyController;
|
||||
import com.mogo.service.windowview.IMogoTopViewManager;
|
||||
import com.mogo.service.windowview.IMogoWindowManager;
|
||||
|
||||
/**
|
||||
@@ -180,4 +181,10 @@ public interface IMogoServiceApis extends IProvider {
|
||||
* @return
|
||||
*/
|
||||
IMogoEntranceButtonController getEntranceButtonController();
|
||||
|
||||
/**
|
||||
* 获取顶部1/2屏界面管理类
|
||||
* @return
|
||||
*/
|
||||
IMogoTopViewManager getTopViewManager();
|
||||
}
|
||||
|
||||
@@ -166,4 +166,9 @@ public class MogoServicePaths {
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String PATH_ENTRANCE_BUTTON_API = "/entrancebutton/api";
|
||||
|
||||
/**
|
||||
* 顶部1/2屏管理
|
||||
*/
|
||||
public static final String PATH_EXTENSIONS_TOP_VIEW_MANAGER = "/topview/api";
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.mogo.service.windowview;
|
||||
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
|
||||
/**
|
||||
* 管理1/2屏界面的增添,为了配合导航展示新增接口
|
||||
*/
|
||||
public interface IMogoTopViewManager extends IProvider {
|
||||
void addTopView(View view, ViewGroup.LayoutParams params);
|
||||
void removeTopView();
|
||||
}
|
||||
@@ -71,4 +71,10 @@ public interface IMogoWindowManager extends IProvider {
|
||||
* 显示所有
|
||||
*/
|
||||
void showAll();
|
||||
|
||||
/**
|
||||
* 为了配合导航动画,主屏上方1/2屏的view通过此方法添加
|
||||
* @param view 主屏上方1/2屏的view
|
||||
*/
|
||||
void addTopView(View view);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user