From d56244777762267fb42f717bf1365739e30392f6 Mon Sep 17 00:00:00 2001 From: r-ca Date: Mon, 29 Jan 2024 00:14:02 +0900 Subject: [PATCH] =?UTF-8?q?=E6=8B=A1=E5=BC=B5=E3=83=A2=E3=83=87=E3=83=AB?= =?UTF-8?q?=E3=82=92=E4=BD=BF=E3=81=86=E3=82=88=E3=81=86=E3=81=AB=E3=82=A2?= =?UTF-8?q?=E3=83=80=E3=83=97=E3=82=BF=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/common/LacertaApplyTagAdapter.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/component/common/src/main/java/one/nem/lacerta/component/common/LacertaApplyTagAdapter.java b/component/common/src/main/java/one/nem/lacerta/component/common/LacertaApplyTagAdapter.java index 08440304..1c9954d4 100644 --- a/component/common/src/main/java/one/nem/lacerta/component/common/LacertaApplyTagAdapter.java +++ b/component/common/src/main/java/one/nem/lacerta/component/common/LacertaApplyTagAdapter.java @@ -10,6 +10,7 @@ import androidx.recyclerview.widget.RecyclerView; import java.util.ArrayList; +import one.nem.lacerta.component.common.model.DocumentTagApplyTagDialogExtendedModel; import one.nem.lacerta.model.document.tag.DocumentTag; public class LacertaApplyTagAdapter extends RecyclerView.Adapter{ @@ -21,7 +22,7 @@ public class LacertaApplyTagAdapter extends RecyclerView.Adapter documentTagArrayList; + private ArrayList documentTagArrayList; private LacertaApplyTagDialogListener listener; // Setter @@ -30,14 +31,13 @@ public class LacertaApplyTagAdapter extends RecyclerView.Adapter documentTagArrayList) { + public LacertaApplyTagAdapter setDocumentTagArrayList(ArrayList documentTagArrayList) { this.documentTagArrayList = documentTagArrayList; return this; } - // Constructor - public LacertaApplyTagAdapter(ArrayList documentTagArrayList) { - this.documentTagArrayList = documentTagArrayList; + // Empty constructor + public LacertaApplyTagAdapter() { } @NonNull @@ -49,8 +49,9 @@ public class LacertaApplyTagAdapter extends RecyclerView.Adapter { if (isChecked) { listener.itemChecked(buttonView, position);