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