From 14ba4f0c9382b26a9fa3c7acbcd5033858c96d38 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 17 Dec 2023 14:18:50 +0900 Subject: [PATCH] =?UTF-8?q?RecyclerView=E5=AE=9F=E8=A3=85WIP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../feature/debug/DebugMenuTopFragment.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 fe4b52de..d831638f 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 @@ -3,11 +3,17 @@ package one.nem.lacerta.feature.debug; import android.os.Bundle; import androidx.fragment.app.Fragment; +import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; +import java.util.ArrayList; +import java.util.List; + +import one.nem.lacerta.feature.debug.common.model.DebugMenuListItem; + /** * A simple {@link Fragment} subclass. * Use the {@link DebugMenuTopFragment#newInstance} factory method to @@ -33,6 +39,13 @@ public class DebugMenuTopFragment extends Fragment { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment - return inflater.inflate(R.layout.fragment_debug_menu_top, container, false); + View view = inflater.inflate(R.layout.fragment_debug_menu_top, container, false); + + RecyclerView recyclerView = view.findViewById(R.id.debug_menu_recycler_view); + + List debugMenuListItems = new ArrayList<>(); + debugMenuListItems.add(new DebugMenuListItem("Meta Data", "View meta data", R.id.action_debugMenuTopFragment_to_debugMenuMetaDataFragment, true)); + + return view; } } \ No newline at end of file