29 lines
932 B
Java
29 lines
932 B
Java
package com.gh.gamecenter;
|
|
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
import android.os.Bundle;
|
|
import androidx.annotation.NonNull;
|
|
|
|
import com.gh.common.util.EntranceUtils;
|
|
import com.halo.assistant.fragment.game.GameNewsSearchResultFragment;
|
|
|
|
/**
|
|
* Created by khy on 2016/8/22.
|
|
* 新闻搜索界面
|
|
*/
|
|
@Deprecated
|
|
public class NewsSearchActivity extends NormalActivity {
|
|
|
|
@NonNull
|
|
public static Intent getIntent(Context context, String gameName, String searchKey, String gameId, String entrance) {
|
|
Bundle args = new Bundle();
|
|
args.putString(EntranceUtils.KEY_GAMENAME, gameName);
|
|
args.putString(EntranceUtils.KEY_SEARCHKEY, searchKey);
|
|
args.putString(EntranceUtils.KEY_GAMEID, gameId);
|
|
args.putString(EntranceUtils.KEY_ENTRANCE, entrance);
|
|
return getTargetIntent(context, NewsSearchActivity.class, GameNewsSearchResultFragment.class, args);
|
|
}
|
|
|
|
}
|