Complete mogo-module-warning fragment show

This commit is contained in:
董宏宇
2021-08-03 16:44:35 +08:00
parent 98de735586
commit 5abaeb8554
17 changed files with 153 additions and 42 deletions

View File

@@ -38,7 +38,9 @@ public interface IMogoModuleProvider extends IProvider {
* @param context
* @return
*/
View createView( Context context );
default View createView( Context context ){
return null;
}
/**
* 模块唯一标识

View File

@@ -1,20 +1,11 @@
package com.mogo.service.warning;
import androidx.annotation.IdRes;
import androidx.fragment.app.FragmentActivity;
import com.alibaba.android.arouter.facade.template.IProvider;
import com.mogo.service.module.IMogoModuleProvider;
/**
* @author xiaoyuzhou
* @date 2021/8/2 7:36 下午
*/
public interface IMoGoWaringProvider extends IProvider {
/**
* 初始化网约车容器
*
* @param activity activity
* @param containerId 容器ID
*/
void init(FragmentActivity activity, @IdRes int containerId);
public interface IMoGoWaringProvider extends IMogoModuleProvider {
}