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