예제 #1
0
 /** 更新配置数据 */
 public void updateConfig(String json) {
   final SettingConfig config = SettingConfig.createObject(json);
   if (config != null) {
     SettingConfigUtil.saveSettingConfig(mContext, json);
     mConfig = config;
   }
 }
예제 #2
0
 private SettingManager(Context context) {
   mContext = context;
   mConfig = SettingConfigUtil.getCachedSettingConfig(mContext);
 }