From 7eeed348ca26ef13a037d06e7bbec543c1b6f094 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 17 Dec 2023 14:34:40 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AC=E3=82=A4=E3=82=A2=E3=82=A6=E3=83=88?= =?UTF-8?q?=E3=83=9E=E3=83=8D=E3=83=BC=E3=82=B8=E3=83=A3=E3=83=BC=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0=E3=81=AA=E3=81=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/feature/debug/DebugMenuTopFragment.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuTopFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuTopFragment.java index d831638f..893a24af 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuTopFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuTopFragment.java @@ -12,6 +12,7 @@ import android.view.ViewGroup; import java.util.ArrayList; import java.util.List; +import one.nem.lacerta.feature.debug.common.adapter.DebugMenuListItemAdapter; import one.nem.lacerta.feature.debug.common.model.DebugMenuListItem; /** @@ -42,10 +43,11 @@ public class DebugMenuTopFragment extends Fragment { View view = inflater.inflate(R.layout.fragment_debug_menu_top, container, false); RecyclerView recyclerView = view.findViewById(R.id.debug_menu_recycler_view); - + recyclerView.setLayoutManager(new androidx.recyclerview.widget.LinearLayoutManager(getContext())); List debugMenuListItems = new ArrayList<>(); debugMenuListItems.add(new DebugMenuListItem("Meta Data", "View meta data", R.id.action_debugMenuTopFragment_to_debugMenuMetaDataFragment, true)); - + DebugMenuListItemAdapter adapter = new DebugMenuListItemAdapter(debugMenuListItems); + recyclerView.setAdapter(adapter); return view; } } \ No newline at end of file