diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuVcsGeneralFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuVcsGeneralFragment.java index 4bc76263..8792a3f0 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuVcsGeneralFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuVcsGeneralFragment.java @@ -3,11 +3,18 @@ package one.nem.lacerta.feature.debug; import android.os.Bundle; import androidx.fragment.app.Fragment; +import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; +import java.util.ArrayList; +import java.util.List; + +import one.nem.lacerta.feature.debug.common.adapter.DebugMenuListItemAdapter; +import one.nem.lacerta.feature.debug.common.model.DebugMenuListItem; + /** * A simple {@link Fragment} subclass. * Use the {@link DebugMenuVcsGeneralFragment#newInstance} factory method to @@ -35,6 +42,15 @@ public class DebugMenuVcsGeneralFragment extends Fragment { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment - return inflater.inflate(R.layout.fragment_debug_menu_vcs_general, container, false); + View view = inflater.inflate(R.layout.fragment_debug_menu_vcs_general, container, false); + + RecyclerView recyclerView = view.findViewById(R.id.recycler_view); + recyclerView.setLayoutManager(new androidx.recyclerview.widget.LinearLayoutManager(getContext())); + List debugMenuListItems = new ArrayList<>(); + + DebugMenuListItemAdapter adapter = new DebugMenuListItemAdapter(debugMenuListItems); + recyclerView.setAdapter(adapter); + + return view; } } \ No newline at end of file