Support stop download and upload for documents.

This commit is contained in:
Sagar
2025-03-27 21:53:04 +05:30
committed by GitHub
parent bde791e03e
commit 6b86a33f2a
4 changed files with 205 additions and 105 deletions

View File

@@ -1267,6 +1267,8 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
displayMode != ConversationItemDisplayMode.Detailed.INSTANCE
);
documentViewStub.get().setDocumentClickListener(new ThumbnailClickListener());
documentViewStub.get().setCancelTransferClickListener(attachmentCancelClickListener);
documentViewStub.get().setResendTransferClickListener(new ResendClickListener(messageRecord));
documentViewStub.get().setDownloadClickListener(singleDownloadClickListener);
documentViewStub.get().setOnLongClickListener(passthroughClickListener);