From 2298a7fc0f905bf3aef6a80f442f80e9218bfb83 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Wed, 5 Aug 2020 21:39:42 +0900 Subject: [PATCH] change SpannableString to html, to fix serialization error --- .../awais/instagrabber/adapters/MessageItemsAdapter.java | 3 +++ app/src/main/java/awais/instagrabber/utils/Utils.java | 8 ++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/awais/instagrabber/adapters/MessageItemsAdapter.java b/app/src/main/java/awais/instagrabber/adapters/MessageItemsAdapter.java index 998cd61d..ef38206e 100755 --- a/app/src/main/java/awais/instagrabber/adapters/MessageItemsAdapter.java +++ b/app/src/main/java/awais/instagrabber/adapters/MessageItemsAdapter.java @@ -159,6 +159,9 @@ public final class MessageItemsAdapter extends RecyclerView.Adapter" + message + ""; + text = hasMentions(message) ? getMentionText(string) : string; } break;