From 4fb93c41e8fba86b381dfdb05316922b1d950eca Mon Sep 17 00:00:00 2001 From: r-ca Date: Mon, 18 Dec 2023 01:32:44 +0900 Subject: [PATCH] =?UTF-8?q?import=E8=BF=BD=E5=8A=A0,=20Inject?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DebugMenuDocumentTesterListFragment.java | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuDocumentTesterListFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuDocumentTesterListFragment.java index c245c538..5c45f01c 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuDocumentTesterListFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuDocumentTesterListFragment.java @@ -3,17 +3,28 @@ 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 javax.inject.Inject; + +import one.nem.lacerta.data.Document; +import one.nem.lacerta.feature.debug.common.adapter.DebugMenuDocumentListItemAdapter; +import one.nem.lacerta.feature.debug.common.model.DebugMenuDocumentListItem; + /** * A simple {@link Fragment} subclass. * Use the {@link DebugMenuDocumentTesterListFragment#newInstance} factory method to * create an instance of this fragment. */ public class DebugMenuDocumentTesterListFragment extends Fragment { + + @Inject + Document document; + public DebugMenuDocumentTesterListFragment() { // Required empty public constructor } @@ -34,6 +45,13 @@ public class DebugMenuDocumentTesterListFragment 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_document_tester_list, container, false); + View view = inflater.inflate(R.layout.fragment_debug_menu_document_tester_list, container, false); + + RecyclerView recyclerView = view.findViewById(R.id.recycler_view_document_list); + recyclerView.setLayoutManager(new androidx.recyclerview.widget.LinearLayoutManager(getContext())); + + + + return view; } } \ No newline at end of file