Example #1
0
 public void setFacebookToken(String val) {
   editor.putString(KEY_FACEBOOK_TOKEN, val);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "KEY_FACEBOOK_TOKEN: " + val);
 }
Example #2
0
 public void setLogin(boolean val) {
   editor.putBoolean(KEY_IS_LOGIN, val);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "KEY_IS_LOGIN: " + val);
 }
Example #3
0
 public void setFacebookName(String val) {
   editor.putString(KEY_FACEBOOK_NAME, val);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "KEY_FACEBOOK_NAME: " + val);
 }
Example #4
0
 public void setLifeStyle(LifeStyle[] lifeStyles) {
   String json = gson.toJson(lifeStyles);
   editor.putString(KEY_LIFE_STYLE, json);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "setLifeStyle: " + json);
 }
Example #5
0
 public void setLifeStyle(String json) {
   editor.putString(KEY_LIFE_STYLE, json);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "setLifeStyle: " + json);
 }
Example #6
0
 public void setNews(News[] newses) {
   String json = gson.toJson(newses);
   editor.putString(KEY_NEWS, json);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "setNews: " + json);
 }
Example #7
0
 public void setNews(String json) {
   editor.putString(KEY_NEWS, json);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "setNews: " + json);
 }
Example #8
0
 public void setGeoContractLastDate(String id, long date) {
   editor.putLong(id, date);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "setGeoContractLastDate: " + id + ":" + date);
 }
Example #9
0
 public void setGeoContractCount(String id, int count) {
   editor.putInt(id, count);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "setGeoContractCount: " + id + ":" + count);
 }
Example #10
0
 public void setFirstRun(boolean val) {
   editor.putBoolean(KEY_APP_FIRST_RUN, val);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "KEY_APP_FIRST_RUN: " + val);
 }
Example #11
0
 public void setAppMemberCardNumber(String val) {
   editor.putString(KEY_APP_MEMBER_CARD_NUMBER, val);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "KEY_APP_MEMBER_CARD_NUMBER: " + val);
 }
Example #12
0
 public void setAppUserId(String val) {
   editor.putString(KEY_APP_USER_ID, val);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "KEY_APP_USER_ID: " + val);
 }