private boolean updateUiForKey(String configKey,DataMap config){
  if (configKey.equals(BReelWatchFaceUtil.KEY_HOUR_FORMAT_TYPE)) {
    String twentyFourSwitchString=config.getString(BReelWatchFaceUtil.KEY_HOUR_FORMAT_TYPE);
    Log.d(TAG,"twentyFourSwitch RECEIVED: " + twentyFourSwitchString);
    setIs24hours(Boolean.parseBoolean(twentyFourSwitchString));
    return true;
  }
 else {
    return false;
  }
}

private boolean updateUiForKey ( String configKey , DataMap config ) { if ( configKey . equals ( BReelWatchFaceUtil . KEY_HOUR_FORMAT_TYPE ) ) { String twentyFourSwitchString = config . getString ( BReelWatchFaceUtil . KEY_HOUR_FORMAT_TYPE ) ; Log . d ( TAG , "twentyFourSwitch RECEIVED: " + twentyFourSwitchString ) ; setIs24hours ( Boolean . parseBoolean ( twentyFourSwitchString ) ) ; return true ; } else { return false ; } }
update the interface for one specific key
