From 7310dff99b5c317cb6cdfeb3f9eefe6e574b422b Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Sat, 1 Nov 2014 03:27:49 +0100 Subject: [PATCH] WeatherInformation: strange weather condition code 01dd see: http://openweathermap.org/img/w/01dd.png There is no documentation about it but sometimes I am receiving it. --- .../src/main/java/de/example/exampletdd/service/IconsList.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Android/WeatherInformation/app/src/main/java/de/example/exampletdd/service/IconsList.java b/Android/WeatherInformation/app/src/main/java/de/example/exampletdd/service/IconsList.java index ea53085..26e37f5 100644 --- a/Android/WeatherInformation/app/src/main/java/de/example/exampletdd/service/IconsList.java +++ b/Android/WeatherInformation/app/src/main/java/de/example/exampletdd/service/IconsList.java @@ -12,6 +12,15 @@ public enum IconsList { return R.drawable.weather_clear; } }, + // TODO: I am sometimes receiving this code, there is no documentation about it on the + // openweathermap site.... But it exists!!! Some day, try to find out more information about it. + // see: http://openweathermap.org/img/w/01dd.png + ICON_01dd("01dd") { + @Override + public int getResourceDrawable() { + return R.drawable.weather_clear; + } + }, ICON_01n("01n") { @Override public int getResourceDrawable() { -- 2.1.4