@@ -1,9 +1,9 @@
|
||||
package com.mogo.eagle.core.function.api.base
|
||||
|
||||
import android.content.Context
|
||||
import android.os.Bundle
|
||||
import android.util.Log
|
||||
import androidx.annotation.IdRes
|
||||
import androidx.fragment.app.Fragment
|
||||
import androidx.fragment.app.FragmentActivity
|
||||
import com.alibaba.android.arouter.facade.template.IProvider
|
||||
|
||||
/**
|
||||
@@ -15,10 +15,10 @@ interface IMoGoFunctionProvider : IProvider {
|
||||
/**
|
||||
* 创建图层,如果功能需要在HMI单独创建新的图层才需要实现
|
||||
*
|
||||
* @param context 上下文
|
||||
* @param activity 上下文
|
||||
* @return 图层Fragment
|
||||
*/
|
||||
fun createCoverage(context: Context?, data: Bundle?): Fragment?
|
||||
fun createCoverage(activity: FragmentActivity?, @IdRes containerId: Int?): Fragment?
|
||||
|
||||
/**
|
||||
* 功能模块唯一标识
|
||||
|
||||
Reference in New Issue
Block a user