diff --git a/app/src/main/java/com/example/cosmosclient/views/CheeseDynamicAdapter.java b/app/src/main/java/com/example/cosmosclient/views/CheeseDynamicAdapter.java index b2e17db..3e366e8 100644 --- a/app/src/main/java/com/example/cosmosclient/views/CheeseDynamicAdapter.java +++ b/app/src/main/java/com/example/cosmosclient/views/CheeseDynamicAdapter.java @@ -7,6 +7,7 @@ import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; +import android.widget.LinearLayout; import android.widget.ListView; import android.widget.TextView; @@ -73,9 +74,9 @@ items.add("からし"); items.add("わさび"); items.add("砂糖"); - + ArrayAdapter adapter = new ArrayAdapter(getContext(), R.layout.item_list, items); - //itemList.setAdapter(adapter); + itemList.setAdapter(adapter); }