WifiSettings überarbeitet, kleine fixes
[DHBWCampusApp.git] / app / src / main / java / de / dhbwloe / campusapp / fragments / MensaTagesplanListAdapter.java
index f0bf2a15e37531e46abc4eaabc502d6a3be4341c..c8509e8f878dbfd37c39943f22c1395b771105c5 100644 (file)
@@ -50,6 +50,8 @@ public class MensaTagesplanListAdapter  extends ArrayAdapter<de.dhbwloe.campusap
             holder.txtMenueName.setText(item.getMenuName());
         if(holder.txtName != null)
             holder.txtName.setText(item.getName());
+        if(holder.txtPrice != null)
+            holder.txtPrice.setText(item.getFormatedRolePrice());
 
         return row;
     }
@@ -57,10 +59,12 @@ public class MensaTagesplanListAdapter  extends ArrayAdapter<de.dhbwloe.campusap
     static class RecordHolder {
         TextView txtMenueName;
         TextView txtName;
+        TextView txtPrice;
 
         public RecordHolder(View view) {
             this.txtMenueName = (TextView) view.findViewById(R.id.txtMenueName);
             this.txtName = (TextView) view.findViewById(R.id.txtName);
+            this.txtPrice = (TextView) view.findViewById(R.id.txtMenuePrice);
         }
     }
 }
\ No newline at end of file