[2.13.0-opt]remove service module and module-common
This commit is contained in:
@@ -1,24 +1,6 @@
|
||||
package com.mogo.eagle.core.function.notice.view
|
||||
|
||||
import android.content.Context
|
||||
import android.view.View
|
||||
import com.alibaba.android.arouter.launcher.ARouter
|
||||
import com.mogo.service.IMogoServiceApis
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020/6/28
|
||||
*
|
||||
* 描述
|
||||
*/
|
||||
private var apis: IMogoServiceApis? = null
|
||||
|
||||
fun getApis(context: Context): IMogoServiceApis {
|
||||
if (apis == null) {
|
||||
apis = ARouter.getInstance().build(com.mogo.eagle.core.data.constants.MogoServicePaths.PATH_SERVICE_APIS).navigation(context) as IMogoServiceApis;
|
||||
}
|
||||
return apis!!
|
||||
}
|
||||
|
||||
fun View.gone() {
|
||||
if (this.visibility != View.GONE) {
|
||||
|
||||
Reference in New Issue
Block a user