From f7fb374aca31329cb591ce84d68f5ed45c596ba4 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Fri, 21 Aug 2020 21:23:48 +0900 Subject: [PATCH] Add viewholder for default (unhandled) dm item types --- .../adapters/DirectMessageItemsAdapter.java | 6 +++- .../DirectMessageDefaultViewHolder.java | 30 +++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 app/src/main/java/awais/instagrabber/adapters/viewholder/directmessages/DirectMessageDefaultViewHolder.java diff --git a/app/src/main/java/awais/instagrabber/adapters/DirectMessageItemsAdapter.java b/app/src/main/java/awais/instagrabber/adapters/DirectMessageItemsAdapter.java index ae17912d..de0a31c4 100644 --- a/app/src/main/java/awais/instagrabber/adapters/DirectMessageItemsAdapter.java +++ b/app/src/main/java/awais/instagrabber/adapters/DirectMessageItemsAdapter.java @@ -12,6 +12,7 @@ import java.util.List; import awais.instagrabber.adapters.viewholder.directmessages.DirectMessageActionLogViewHolder; import awais.instagrabber.adapters.viewholder.directmessages.DirectMessageAnimatedMediaViewHolder; +import awais.instagrabber.adapters.viewholder.directmessages.DirectMessageDefaultViewHolder; import awais.instagrabber.adapters.viewholder.directmessages.DirectMessageItemViewHolder; import awais.instagrabber.adapters.viewholder.directmessages.DirectMessageLinkViewHolder; import awais.instagrabber.adapters.viewholder.directmessages.DirectMessageMediaShareViewHolder; @@ -76,7 +77,6 @@ public final class DirectMessageItemsAdapter extends ListAdapter