コード例 #1
0
 public void saveANMLocation(String anmLocation) {
   settingsRepository.updateSetting(ANM_LOCATION, anmLocation);
 }
コード例 #2
0
 public void savePreviousFormSyncIndex(String value) {
   settingsRepository.updateSetting(PREVIOUS_FORM_SYNC_INDEX_SETTING_KEY, value);
 }
コード例 #3
0
 public void savePreviousFetchIndex(String value) {
   settingsRepository.updateSetting(PREVIOUS_FETCH_INDEX_SETTING_KEY, value);
 }
コード例 #4
0
 public void saveAppliedVillageFilter(String village) {
   settingsRepository.updateSetting(APPLIED_VILLAGE_FILTER_SETTING_KEY, village);
 }
コード例 #5
0
 public void registerANMWithUserRole(String userName, String password, String userRole) {
   preferences.updateANMUserName(userName);
   preferences.updateUserRole(userRole);
   settingsRepository.updateSetting(ANM_PASSWORD_PREFERENCE_KEY, password);
 }