26 lines
801 B
Kotlin
26 lines
801 B
Kotlin
package com.gh.common.provider
|
||
|
||
import android.content.Context
|
||
import com.alibaba.android.arouter.facade.annotation.Route
|
||
import com.gh.common.util.DirectUtils
|
||
import com.gh.gamecenter.common.constant.RouteConsts
|
||
import com.gh.gamecenter.common.entity.LinkEntity
|
||
import com.gh.gamecenter.common.provider.ILinkDirectUtilsProvider
|
||
|
||
@Route(path = RouteConsts.provider.linkDirectUtils, name = "DirectUtils暴露服务,主要是暴露directToLinkPage方法")
|
||
class LinkDirectUtilsProviderImpl : ILinkDirectUtilsProvider {
|
||
|
||
override fun directToLinkPage(
|
||
context: Context,
|
||
linkEntity: LinkEntity,
|
||
entrance: String,
|
||
path: String
|
||
) {
|
||
DirectUtils.directToLinkPage(context, linkEntity, entrance, path)
|
||
}
|
||
|
||
|
||
override fun init(context: Context?) {
|
||
|
||
}
|
||
} |