Bladeren bron

second commit

temamironovonline 1 jaar geleden
bovenliggende
commit
3bdf8e1b94
2 gewijzigde bestanden met toevoegingen van 8 en 0 verwijderingen
  1. 6 0
      .idea/vcs.xml
  2. 2 0
      app/src/main/java/com/example/exam/DishesAdapter.java

+ 6 - 0
.idea/vcs.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
+  </component>
+</project>

+ 2 - 0
app/src/main/java/com/example/exam/DishesAdapter.java

@@ -49,6 +49,8 @@ public class DishesAdapter extends BaseAdapter {
 
         Dishes dish = getDish(position);
 
+        ((TextView) view.findViewById(R.id.nameDish)).setText(dish.Name_Dish);
+        ((TextView) view.findViewById(R.id.cookTime)).setText(dish.Cooking_Time_Dish);
 
 
         return view;