Bläddra i källkod

second commit

temamironovonline 1 år sedan
förälder
incheckning
3bdf8e1b94
2 ändrade filer med 8 tillägg och 0 borttagningar
  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;