From 81053009e0fb12938418c8b56191e1014b1ba434 Mon Sep 17 00:00:00 2001 From: r-ca Date: Mon, 18 Dec 2023 01:29:22 +0900 Subject: [PATCH] =?UTF-8?q?=E5=AE=9F=E8=A3=85=E3=83=86=E3=82=B9=E3=83=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DebugMenuDocumentListItemAdapter.java | 19 +++++++++++++++++++ .../layout/list_item_debug_menu_document.xml | 10 +++++----- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/common/adapter/DebugMenuDocumentListItemAdapter.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/common/adapter/DebugMenuDocumentListItemAdapter.java index 6468858d..cceac2ef 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/common/adapter/DebugMenuDocumentListItemAdapter.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/common/adapter/DebugMenuDocumentListItemAdapter.java @@ -1,18 +1,25 @@ package one.nem.lacerta.feature.debug.common.adapter; +import android.view.View; import android.view.ViewGroup; +import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import java.util.List; +import one.nem.lacerta.feature.debug.R; import one.nem.lacerta.feature.debug.common.model.DebugMenuDocumentListItem; public class DebugMenuDocumentListItemAdapter extends RecyclerView.Adapter { private List debugMenuDocumentListItems; + public DebugMenuDocumentListItemAdapter(List debugMenuDocumentListItems) { + this.debugMenuDocumentListItems = debugMenuDocumentListItems; + } + @NonNull @Override public DebugMenuDocumentListItemAdapter.DebugMenuDocumentListItemViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { @@ -30,5 +37,17 @@ public class DebugMenuDocumentListItemAdapter extends RecyclerView.Adapter + app:layout_constraintTop_toBottomOf="@+id/document_list_item_title" />