From 65fb284c6c100ef8fcc8a3d9b62b61f3d3cd27d8 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Fri, 8 Apr 2022 09:19:41 +0200 Subject: [PATCH] add reactions for previewMessageHolders Signed-off-by: Marcel Hibbe --- .idea/codeStyles/Project.xml | 14 +--- .../IncomingPreviewMessageViewHolder.java | 4 ++ .../MagicPreviewMessageViewHolder.java | 62 ++++++++++++----- .../OutcomingPreviewMessageViewHolder.java | 4 ++ .../messages/PreviewMessageInterface.kt | 7 ++ .../messages/TalkMessagesListAdapter.java | 3 + .../talk/controllers/ChatController.kt | 13 +++- .../talk/models/json/chat/ChatMessage.java | 68 +++++++++++-------- .../item_custom_incoming_preview_message.xml | 4 ++ .../item_custom_outcoming_preview_message.xml | 4 ++ 10 files changed, 124 insertions(+), 59 deletions(-) create mode 100644 app/src/main/java/com/nextcloud/talk/adapters/messages/PreviewMessageInterface.kt diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index dfeadc6bc..531d00c0d 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -56,16 +56,7 @@ -