package com.gh.common.provider

import android.content.Context
import android.content.Intent
import com.therouter.router.Route
import com.gh.gamecenter.MessageDetailActivity
import com.gh.gamecenter.common.constant.RouteConsts
import com.gh.gamecenter.feature.entity.ConcernEntity
import com.gh.gamecenter.feature.provider.IMessageDetailProvider

@com.therouter.inject.ServiceProvider
class MessageDetailProviderImpl : IMessageDetailProvider {

    override fun getIntentById(
        context: Context,
        newsId: String,
        commentNum: Int,
        openSoftInput: Boolean,
        entrance: String
    ): Intent {
        return MessageDetailActivity.getIntentById(context, newsId, commentNum, openSoftInput, entrance)
    }

    override fun getIntentByEntity(context: Context, concernEntity: ConcernEntity, entrance: String): Intent? {
        return MessageDetailActivity.getIntentByEntity(context, concernEntity, entrance)
    }
}