public void a(FoodItem fooditem) {
    fooditem = fooditem.d();
    UsedNutritionalValue ausednutritionalvalue[] = UsedNutritionalValue.values();
    int i1 = ausednutritionalvalue.length;
    int i = 0;
    while (i < i1) {
      UsedNutritionalValue usednutritionalvalue = ausednutritionalvalue[i];
      Object obj = a.inflate(0x7f0401dd, null);
      View view = ((View) (obj)).findViewById(0x7f1104bf);
      TextView textview1 = (TextView) ((View) (obj)).findViewById(0x7f11011f);
      TextView textview = (TextView) ((View) (obj)).findViewById(0x7f1104bc);
      int l;
      if (usednutritionalvalue.e() && usednutritionalvalue.d()) {
        l = 1;
      } else {
        l = 0;
      }
      textview1.setTypeface(textview1.getTypeface(), l);
      textview.setTypeface(textview.getTypeface(), l);
      if (usednutritionalvalue.d()) {
        view.setPadding(0, 0, 0, 0);
      }
      if (usednutritionalvalue.e()) {
        b.addView(((View) (obj)));
      } else {
        c.addView(((View) (obj)));
      }
      textview1.setText(bv.a(getContext().getString(usednutritionalvalue.a())));
      obj = (Double) fooditem.get(usednutritionalvalue.b());
      if (obj == null
          || ((Double) (obj)).isNaN()
          || an.a(((Double) (obj)).doubleValue(), 0) == 0.0D) {
        textview.setText("-");
      } else {
        textview.setText(e.a(getContext(), ((Double) (obj)), usednutritionalvalue.c()));
      }
      i++;
    }
    for (int j = 0; j < b.getChildCount(); j++) {
      if (j % 2 != 0) {
        b.getChildAt(j).setBackgroundColor(getResources().getColor(0x7f0f0098));
      }
    }

    for (int k = 0; k < c.getChildCount(); k++) {
      if (k % 2 != 0) {
        c.getChildAt(k).setBackgroundColor(getResources().getColor(0x7f0f0098));
      }
    }
  }