|
|
@@ -347,14 +347,16 @@ public class MainContentsWeatherHolder extends MainContentsHolder {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public void updateWeather(String weatherCode, String dustCode) {
|
|
|
+ public void updateWeather(String weatherCode, String dustCode, String areaName) {
|
|
|
|
|
|
this.weatherCode = weatherCode;
|
|
|
this.dustCode = dustCode;
|
|
|
+ this.areaName = areaName;
|
|
|
|
|
|
stopToggleInterval();
|
|
|
setWeatherGifAndText(weatherCode, dustCode);
|
|
|
- playToggleInterval();
|
|
|
+ isImagePlaying = false;
|
|
|
+ setWeatherVisible(itemView.getY());
|
|
|
|
|
|
}
|
|
|
|