From efceb0dac708ff2165f229bbfcedb155c02823eb Mon Sep 17 00:00:00 2001 From: nero Date: Wed, 17 Jan 2024 12:42:34 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/feature/library/LibraryTopFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryTopFragment.java b/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryTopFragment.java index 0b13e9e3..ebb4f585 100644 --- a/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryTopFragment.java +++ b/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryTopFragment.java @@ -103,6 +103,7 @@ public class LibraryTopFragment extends Fragment { try { LacertaLibrary lacertaLibrary = new LacertaLibraryImpl(); + // Dagger Hiltを使用して依存性を注入 // ドキュメントのメタデータを取得 LibraryItemPage libraryItemPage = lacertaLibrary.getLibraryPage(100); @@ -123,6 +124,7 @@ public class LibraryTopFragment extends Fragment { // トーストメッセージでドキュメントの数を表示 Toast.makeText(getActivity(), "ドキュメント数: " + Integer.toString(metas.size()), Toast.LENGTH_LONG).show(); + // RecyclerViewのレイアウトマネージャーを設定 LinearLayoutManager layoutManager = new LinearLayoutManager(getContext()); documentRecyclerView.setLayoutManager(layoutManager);