This commit is contained in:
r-ca 2023-12-17 13:39:30 +09:00
parent 493cd5050d
commit ea923aa884
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -3,6 +3,8 @@ package one.nem.lacerta.feature.debug;
import android.os.Bundle; import android.os.Bundle;
import androidx.fragment.app.Fragment; import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
@ -34,6 +36,15 @@ public class DocumentManageDebugFragment extends Fragment {
public View onCreateView(LayoutInflater inflater, ViewGroup container, public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) { Bundle savedInstanceState) {
// Inflate the layout for this fragment // Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_document_manage_debug, container, false); View view = inflater.inflate(R.layout.fragment_document_manage_debug, container, false);
RecyclerView recyclerView = view.findViewById(R.id.doc_editor_menu_recycler_view);
recyclerView.setAdapter(new DebugDocumentMenuAdapter());
recyclerView.setLayoutManager(new LinearLayoutManager(getContext()));
return view;
} }
} }