private void updateDisplay() { Current current = mForecast.getCurrent(); mLocationLabel.setText(LOCATION_NAME); mTemperatureLabel.setText(current.getTemperature() + ""); mTimeLabel.setText("At " + current.getFormattedTime() + " it will be"); mHumidityValue.setText(current.getHumidity() + ""); mPrecipValue.setText(current.getPrecipChance() + "%"); mSummaryLabel.setText(current.getSummary()); Drawable drawable = getResources().getDrawable(mForecast.getCurrent().getIconId()); mIconImageView.setImageDrawable(drawable); }