From d6fb2471bb3fc38efca0778bcc13b99e6c391eea Mon Sep 17 00:00:00 2001 From: Sujit Kumar <60378235+therealsujitk@users.noreply.github.com> Date: Mon, 13 Nov 2023 14:39:55 +0530 Subject: [PATCH] Fix typo in function name --- .../vtopchennai/adapters/AttachmentsItemAdapter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/tk/therealsuji/vtopchennai/adapters/AttachmentsItemAdapter.java b/app/src/main/java/tk/therealsuji/vtopchennai/adapters/AttachmentsItemAdapter.java index 9c92618..eb29ebb 100644 --- a/app/src/main/java/tk/therealsuji/vtopchennai/adapters/AttachmentsItemAdapter.java +++ b/app/src/main/java/tk/therealsuji/vtopchennai/adapters/AttachmentsItemAdapter.java @@ -47,7 +47,7 @@ public AttachmentsItemAdapter.ViewHolder onCreateViewHolder(@NonNull ViewGroup p @Override public void onBindViewHolder(@NonNull ViewHolder holder, int position) { - holder.setReceipt(this.attachments.get(position)); + holder.setAttachment(this.attachments.get(position)); } @Override @@ -63,7 +63,7 @@ public ViewHolder(@NonNull View itemView) { this.attachment = (LinearLayout) itemView; } - public void setReceipt(Attachment attachment) { + public void setAttachment(Attachment attachment) { TextView fileName = this.attachment.findViewById(R.id.text_view_file_name); TextView fileSize = this.attachment.findViewById(R.id.text_view_file_size);