为所有页面添加Activity(为了接入MTA页面访问统计)
This commit is contained in:
21
app/src/main/java/com/gh/gamecenter/MessageVoteActivity.java
Normal file
21
app/src/main/java/com/gh/gamecenter/MessageVoteActivity.java
Normal file
@ -0,0 +1,21 @@
|
||||
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) {
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putString(EntranceUtils.KEY_MESSAGE_TYPE, messageType);
|
||||
return getTargetIntent(context, MessageVoteActivity.class, MessageNormalFragment.class, bundle);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user