public void setFacebookToken(String val) { editor.putString(KEY_FACEBOOK_TOKEN, val); editor.commit(); LoggerUtils.getInstance().logI(tag, "KEY_FACEBOOK_TOKEN: " + val); }
public void setLogin(boolean val) { editor.putBoolean(KEY_IS_LOGIN, val); editor.commit(); LoggerUtils.getInstance().logI(tag, "KEY_IS_LOGIN: " + val); }
public void setFacebookName(String val) { editor.putString(KEY_FACEBOOK_NAME, val); editor.commit(); LoggerUtils.getInstance().logI(tag, "KEY_FACEBOOK_NAME: " + val); }
public void setLifeStyle(LifeStyle[] lifeStyles) { String json = gson.toJson(lifeStyles); editor.putString(KEY_LIFE_STYLE, json); editor.commit(); LoggerUtils.getInstance().logI(tag, "setLifeStyle: " + json); }
public void setLifeStyle(String json) { editor.putString(KEY_LIFE_STYLE, json); editor.commit(); LoggerUtils.getInstance().logI(tag, "setLifeStyle: " + json); }
public void setNews(News[] newses) { String json = gson.toJson(newses); editor.putString(KEY_NEWS, json); editor.commit(); LoggerUtils.getInstance().logI(tag, "setNews: " + json); }
public void setNews(String json) { editor.putString(KEY_NEWS, json); editor.commit(); LoggerUtils.getInstance().logI(tag, "setNews: " + json); }
public void setGeoContractLastDate(String id, long date) { editor.putLong(id, date); editor.commit(); LoggerUtils.getInstance().logI(tag, "setGeoContractLastDate: " + id + ":" + date); }
public void setGeoContractCount(String id, int count) { editor.putInt(id, count); editor.commit(); LoggerUtils.getInstance().logI(tag, "setGeoContractCount: " + id + ":" + count); }
public void setFirstRun(boolean val) { editor.putBoolean(KEY_APP_FIRST_RUN, val); editor.commit(); LoggerUtils.getInstance().logI(tag, "KEY_APP_FIRST_RUN: " + val); }
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); }
public void setAppUserId(String val) { editor.putString(KEY_APP_USER_ID, val); editor.commit(); LoggerUtils.getInstance().logI(tag, "KEY_APP_USER_ID: " + val); }