public boolean isAutoLog() { if (Boolean.parseBoolean(sharedPreference.get("isAuto", "false"))) { return true; } return false; }
public String[] getAccountRecord() { String account = sharedPreference.get("account", ""); String password = sharedPreference.get("password", ""); String[] arr = {account, password}; return arr; }
public void forceTolog(ContextCallback contextCallback) { user.setId(sharedPreference.get("account", "")); user.setPassWord(sharedPreference.get("password", "")); this.tryAutoLog(contextCallback); }