From f5b94e0f6ae9663a73bb4fbaee83745c20f85f4d Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 21 Jan 2024 15:16:18 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=82=B9=E3=83=88=E3=83=A9?= =?UTF-8?q?=E3=82=AF=E3=82=BF=E3=81=AB=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/feature/home/ListItemAdapter.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/feature/home/src/main/java/one/nem/lacerta/feature/home/ListItemAdapter.java b/feature/home/src/main/java/one/nem/lacerta/feature/home/ListItemAdapter.java index 2ffa70e9..1f2d8503 100644 --- a/feature/home/src/main/java/one/nem/lacerta/feature/home/ListItemAdapter.java +++ b/feature/home/src/main/java/one/nem/lacerta/feature/home/ListItemAdapter.java @@ -19,12 +19,15 @@ public class ListItemAdapter extends RecyclerView.Adapter listItems; + DocumentSelectListener listener; + public ListItemAdapter(ArrayList listItems){ this.listItems = listItems; } - public ListItemAdapter() { + public ListItemAdapter(DocumentSelectListener listener){ this.listItems = new ArrayList<>(); + this.listener = listener; } public void setListItems(ArrayList listItems) {