This commit is contained in:
r-ca 2023-12-17 13:41:44 +09:00
parent b7fd424f33
commit 92ec3d31f4
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -10,6 +10,10 @@ import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import java.util.List;
import one.nem.lacerta.feature.debug.common.model.SettingMenuItem;
/** /**
* A simple {@link Fragment} subclass. * A simple {@link Fragment} subclass.
* Use the {@link DocumentManageDebugFragment#newInstance} factory method to * Use the {@link DocumentManageDebugFragment#newInstance} factory method to
@ -40,6 +44,10 @@ public class DocumentManageDebugFragment extends Fragment {
RecyclerView recyclerView = view.findViewById(R.id.doc_editor_menu_recycler_view); RecyclerView recyclerView = view.findViewById(R.id.doc_editor_menu_recycler_view);
List<SettingMenuItem> menuItems = List.of(
new SettingMenuItem("test", )
);
recyclerView.setAdapter(new DebugDocumentMenuAdapter()); recyclerView.setAdapter(new DebugDocumentMenuAdapter());
recyclerView.setLayoutManager(new LinearLayoutManager(getContext())); recyclerView.setLayoutManager(new LinearLayoutManager(getContext()));