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) {