mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
WIP
This commit is contained in:
parent
b7fd424f33
commit
92ec3d31f4
|
@ -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()));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user