31 lines
942 B
Java
31 lines
942 B
Java
package com.gh.gamecenter;
|
|
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
import android.os.Bundle;
|
|
import android.support.annotation.NonNull;
|
|
|
|
import com.gh.common.util.EntranceUtils;
|
|
import com.halo.assistant.fragment.VoteFragment;
|
|
|
|
/**
|
|
* Created by khy on 2017/4/11.
|
|
* 求版本投票页面
|
|
*/
|
|
@Deprecated
|
|
public class VoteActivity extends NormalActivity {
|
|
|
|
@NonNull
|
|
public static Intent getIntent(Context context, String gameName, String gameId) {
|
|
Bundle args = new Bundle();
|
|
args.putString(EntranceUtils.KEY_GAMENAME, gameName);
|
|
args.putString(EntranceUtils.KEY_GAMEID, gameId);
|
|
// return new IntentFactory.Builder(context)
|
|
// .setArgs(intent.getExtras())
|
|
// .setActivity(VoteActivity.class)
|
|
// .setFragment(VoteFragment.class).build();
|
|
return getTargetIntent(context, VoteActivity.class, VoteFragment.class, args);
|
|
}
|
|
|
|
}
|