一旦コメントアウト(ビルドエラー回避)

This commit is contained in:
ろむねこ 2024-01-19 15:45:33 +09:00
parent 5d8b9f338d
commit 4b5ce622fd
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -90,17 +90,17 @@ public class HomeTopFragment extends Fragment {
// List<DocumentMeta> metas = document.getAllDocumentMetas(100);
ArrayList<ListItem> listItems = lacertaLibrary.getRecentDocument(100);
Log.d("docs", Integer.toString(listItems.size()));
RecyclerView recyclerView = view.findViewById(R.id.item_recycler_view);
recyclerView.setLayoutManager(new LinearLayoutManager(getContext()));
MyAdapter myAdapter = new MyAdapter(listItems);
recyclerView.setAdapter(myAdapter);
// ArrayList<ListItem> listItems = lacertaLibrary.getRecentDocument(100);
//
// Log.d("docs", Integer.toString(listItems.size()));
//
// RecyclerView recyclerView = view.findViewById(R.id.item_recycler_view);
//
// recyclerView.setLayoutManager(new LinearLayoutManager(getContext()));
//
// MyAdapter myAdapter = new MyAdapter(listItems);
//
// recyclerView.setAdapter(myAdapter);
return view;