This commit is contained in:
r-ca 2023-12-17 19:29:20 +09:00
parent 06a78ebee0
commit eff8e2037a
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -3,11 +3,17 @@ 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.RecyclerView;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import java.util.ArrayList;
import java.util.List;
import one.nem.lacerta.feature.debug.common.model.DebugMenuListItem;
/** /**
* A simple {@link Fragment} subclass. * A simple {@link Fragment} subclass.
* Use the {@link DebugMenuDocumentTesterTopFragment#newInstance} factory method to * Use the {@link DebugMenuDocumentTesterTopFragment#newInstance} factory method to
@ -33,6 +39,15 @@ public class DebugMenuDocumentTesterTopFragment 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_debug_menu_document_tester_top, container, false); View view = inflater.inflate(R.layout.fragment_debug_menu_document_tester_top, container, false);
RecyclerView recyclerView = view.findViewById(R.id.debug_menu_document_tester_recycler_view);
recyclerView.setLayoutManager(new androidx.recyclerview.widget.LinearLayoutManager(getContext()));
List<DebugMenuListItem> debugMenuDocTesterListItems = new ArrayList<>();
// WIP
return view;
} }
} }