修改主页轮播点的位置以及大小,修改引导页的启动模式

This commit is contained in:
khy
2016-07-19 16:02:52 +08:00
parent b0e401bbbd
commit 18330df2f0
4 changed files with 14 additions and 14 deletions

View File

@ -70,7 +70,6 @@ import com.gh.gamecenter.news.NewsFragment;
import com.gh.gamecenter.personal.PersonalFragment;
import com.gh.gamecenter.volley.extended.JsonArrayExtendedRequest;
import com.gh.gamecenter.volley.extended.JsonObjectExtendedRequest;
import com.gh.gamecenter.volley.extended.StringExtendedRequest;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
@ -411,15 +410,15 @@ public class MainActivity extends BaseFragmentActivity implements
sp = getSharedPreferences(Config.PREFERENCE, Context.MODE_PRIVATE);
if (!sp.getBoolean("isFirstLaunch", true)
if (!sp.getBoolean("isNewsFirstLaunch", true)
&& sp.getBoolean("autoupdate", true)) {
checkUpdate();
}
if (sp.getBoolean("isFirstLaunch", true)) {
if (sp.getBoolean("isNewsFirstLaunch", true)) {
getPluginUpdate();
getDisclaimer(true);
sp.edit().putBoolean("isFirstLaunch", false).apply();
sp.edit().putBoolean("isNewsFirstLaunch", false).apply();
} else {
getDisclaimer(false);
handler.postDelayed(runnable, 500);