From ea923aa88440bc066e81158246321a3d71940479 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 17 Dec 2023 13:39:30 +0900 Subject: [PATCH] WIP --- .../feature/debug/DocumentManageDebugFragment.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DocumentManageDebugFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DocumentManageDebugFragment.java index 2886336f..478703b3 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DocumentManageDebugFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DocumentManageDebugFragment.java @@ -3,6 +3,8 @@ package one.nem.lacerta.feature.debug; import android.os.Bundle; import androidx.fragment.app.Fragment; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; @@ -34,6 +36,15 @@ public class DocumentManageDebugFragment extends Fragment { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment - return inflater.inflate(R.layout.fragment_document_manage_debug, container, false); + View view = inflater.inflate(R.layout.fragment_document_manage_debug, container, false); + + RecyclerView recyclerView = view.findViewById(R.id.doc_editor_menu_recycler_view); + + recyclerView.setAdapter(new DebugDocumentMenuAdapter()); + + recyclerView.setLayoutManager(new LinearLayoutManager(getContext())); + + return view; } + } \ No newline at end of file