瀏覽代碼

second commit

temamironovonline 1 年之前
父節點
當前提交
3bdf8e1b94
共有 2 個文件被更改,包括 8 次插入0 次删除
  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;