产品优化汇总
This commit is contained in:
@ -2,15 +2,20 @@ package com.gh.gamecenter;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.Dialog;
|
||||
import android.content.*;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.SharedPreferences.Editor;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.view.Window;
|
||||
import android.widget.*;
|
||||
import butterknife.BindView;
|
||||
import android.widget.RadioButton;
|
||||
import android.widget.RadioGroup;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.gh.base.BaseActivity;
|
||||
import com.gh.common.constant.Config;
|
||||
import com.gh.common.util.DialogUtils;
|
||||
@ -18,10 +23,12 @@ import com.gh.common.util.FileUtils;
|
||||
import com.gh.gamecenter.eventbus.EBReuse;
|
||||
import com.gh.gamecenter.eventbus.EBSkip;
|
||||
import com.kyleduo.switchbutton.SwitchButton;
|
||||
import de.greenrobot.event.EventBus;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import butterknife.BindView;
|
||||
import de.greenrobot.event.EventBus;
|
||||
|
||||
/**
|
||||
* 游戏设置页面
|
||||
*
|
||||
@ -165,7 +172,7 @@ public class SettingActivity extends BaseActivity implements OnClickListener {
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
EventBus.getDefault().post(new EBSkip("GameFragment", 0));
|
||||
EventBus.getDefault().post(new EBSkip(MainActivity.EB_SKIP_GAMEFRAGMENT, 0));
|
||||
}
|
||||
}.start();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user