예제 #1
0
 public void setFacebookToken(String val) {
   editor.putString(KEY_FACEBOOK_TOKEN, val);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "KEY_FACEBOOK_TOKEN: " + val);
 }
예제 #2
0
 public void setLogin(boolean val) {
   editor.putBoolean(KEY_IS_LOGIN, val);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "KEY_IS_LOGIN: " + val);
 }
예제 #3
0
 public void setFacebookName(String val) {
   editor.putString(KEY_FACEBOOK_NAME, val);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "KEY_FACEBOOK_NAME: " + val);
 }
예제 #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);
 }
예제 #5
0
 public void setLifeStyle(String json) {
   editor.putString(KEY_LIFE_STYLE, json);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "setLifeStyle: " + json);
 }
예제 #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);
 }
예제 #7
0
 public void setNews(String json) {
   editor.putString(KEY_NEWS, json);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "setNews: " + json);
 }
예제 #8
0
 public void setGeoContractLastDate(String id, long date) {
   editor.putLong(id, date);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "setGeoContractLastDate: " + id + ":" + date);
 }
예제 #9
0
 public void setGeoContractCount(String id, int count) {
   editor.putInt(id, count);
   editor.commit();
   LoggerUtils.getInstance().logI(tag, "setGeoContractCount: " + id + ":" + count);
 }
예제 #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);
 }
예제 #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);
 }
예제 #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);
 }