From 366660a6d019355e1166f0e7f590ca41eb3df6b4 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 17 Sep 2020 21:38:50 +0800 Subject: Support swipe action in PostCompactBaseViewHolder. --- .../Adapter/PostRecyclerViewAdapter.java | 15 ++++++++++++--- .../infinityforreddit/Fragment/PostFragment.java | 4 ++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java index a815302f..d9b3da20 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java @@ -1306,6 +1306,15 @@ public class PostRecyclerViewAdapter extends PagedListAdapter