23 lines
692 B
Java
23 lines
692 B
Java
package com.gh.gamecenter;
|
|
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
import android.os.Bundle;
|
|
|
|
import com.gh.common.util.EntranceUtils;
|
|
import com.gh.gamecenter.message.MessageNormalFragment;
|
|
|
|
/**
|
|
* Created by khy on 10/04/18.
|
|
*/
|
|
|
|
public class MessageVoteActivity extends NormalActivity {
|
|
|
|
public static Intent getIntent(Context context, String messageType, String entrance) {
|
|
Bundle bundle = new Bundle();
|
|
bundle.putString(EntranceUtils.KEY_ENTRANCE, entrance);
|
|
bundle.putString(EntranceUtils.KEY_MESSAGE_TYPE, messageType);
|
|
return getTargetIntent(context, MessageVoteActivity.class, MessageNormalFragment.class, bundle);
|
|
}
|
|
}
|