Пример #1
0
 protected String getString(int resId) {
   return forecast.getContext().getString(resId);
 }
Пример #2
0
 public Drawable getIcon() {
   if (iconId != ICON_NONE && icon == null)
     icon = forecast.getContext().getResources().getDrawable(this.getIconId());
   return icon;
 }