This commit is contained in:
wangcongtao
2019-12-30 16:35:51 +08:00
parent 9b93caefda
commit 5752829cf3
128 changed files with 7092 additions and 491 deletions

View File

@@ -9,7 +9,7 @@ package com.mogo.service.module;
public interface IMogoModuleLifecycle {
/**
* 卡片在最前面,可操作地图
* 当前显示的卡片
*/
void onPerform();

View File

@@ -9,6 +9,7 @@ import androidx.fragment.app.Fragment;
import com.alibaba.android.arouter.facade.template.IProvider;
import com.mogo.map.listener.IMogoMapListener;
import com.mogo.map.location.IMogoLocationListener;
import com.mogo.map.navi.IMogoNaviListener;
/**
@@ -20,12 +21,12 @@ import com.mogo.map.navi.IMogoNaviListener;
public interface IMogoModuleProvider extends IProvider {
/**
* fragment 提供者
* 模块类型为fragment
*/
int TYPE_FRAGMENT = 1;
/**
* view 提供者
* 模块类型为view
*/
int TYPE_VIEW = 2;
@@ -46,7 +47,7 @@ public interface IMogoModuleProvider extends IProvider {
View createView( Context context );
/**
* 唯一标识
* 模块唯一标识
*
* @return
*/
@@ -83,4 +84,11 @@ public interface IMogoModuleProvider extends IProvider {
* @return
*/
IMogoNaviListener getNaviListener();
/**
* 定位变化监听:此接口接受地图定位信息
*
* @return
*/
IMogoLocationListener getLocationListener();
}