package com.gh.gamecenter.energy.provider

import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.gh.gamecenter.common.constant.RouteConsts
import com.gh.gamecenter.common.entity.LinkEntity
import com.gh.gamecenter.common.provider.ILinkDirectUtilsProvider
import com.gh.gamecenter.core.utils.ToastUtils

@Route(path = RouteConsts.provider.linkDirectUtils, name = "DirectUtils暴露服务，主要是暴露directToLinkPage方法")
class LinkDirectUtilsProviderImpl : ILinkDirectUtilsProvider {

    override fun directToLinkPage(
        context: Context,
        linkEntity: LinkEntity,
        entrance: String,
        path: String
    ) {
        ToastUtils.toast("调用->LinkDirectUtilsProviderImpl.directToLinkPage")
    }


    override fun init(context: Context?) {
        // Do nothing
    }
}