Beispiel #1
0
 public BaseUser getUser() {
   if (user == null) {
     user =
         (BaseUser) SharedPreferencesSava.getInstance().getObject(SpSaveContants.OBJ, "baseUser");
   }
   return user;
 }
Beispiel #2
0
 public void setUser(BaseUser user) {
   this.user = user;
   SharedPreferencesSava.getInstance().savaObject(SpSaveContants.OBJ, "baseUser", user);
 }