mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
コードを微修正
This commit is contained in:
1 parent
ac2001142f
commit
e70f930929
1 file changed
-6
@@ -102,7 +102,6 @@ public class LibraryTopFragment extends Fragment {
|
||||
textView.setText(document);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -113,8 +112,6 @@ public class LibraryTopFragment extends Fragment {
|
||||
// Use view.findViewById instead of findViewById
|
||||
RecyclerView documentRecyclerView = view.findViewById(R.id.document_list);
|
||||
|
||||
|
||||
if (documentRecyclerView != null) {
|
||||
List<String> documentList = new ArrayList<>();
|
||||
documentList.add("Document A");
|
||||
documentList.add("Document B");
|
||||
@@ -127,9 +124,6 @@ public class LibraryTopFragment extends Fragment {
|
||||
// Use a LinearLayoutManager to specify the layout
|
||||
LinearLayoutManager layoutManager = new LinearLayoutManager(requireContext());
|
||||
documentRecyclerView.setLayoutManager(layoutManager);
|
||||
}
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user