17 lines
852 B
Kotlin
17 lines
852 B
Kotlin
package com.gh.common.provider
|
|
|
|
import android.content.Context
|
|
import android.content.Intent
|
|
import com.gh.gamecenter.feature.provider.IGameCollectionDetailProvider
|
|
import com.gh.gamecenter.gamecollection.detail.GameCollectionDetailActivity
|
|
|
|
@com.therouter.inject.ServiceProvider
|
|
class GameCollectionDetailProviderImpl : IGameCollectionDetailProvider {
|
|
override fun getIntent(context: Context, gameCollectionId: String, isFromSquare: Boolean, entrance: String): Intent {
|
|
return GameCollectionDetailActivity.getIntent(context, gameCollectionId, isFromSquare, entrance)
|
|
}
|
|
|
|
override fun getSpecifiedCommentIntent(context: Context, gameCollectionId: String, topCommentId: String, entrance: String): Intent {
|
|
return GameCollectionDetailActivity.getSpecifiedCommentIntent(context, gameCollectionId, topCommentId, entrance)
|
|
}
|
|
} |