From dea9231fcf64db1c9b6a718eecf4c588a5c92efc Mon Sep 17 00:00:00 2001 From: Christian Basler Date: Sun, 2 Oct 2016 14:19:50 +0200 Subject: [PATCH] Fixed bug where two items were removed from view with one swipe --- .../ch/dissem/apps/abit/adapter/SwipeableMessageAdapter.java | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/ch/dissem/apps/abit/adapter/SwipeableMessageAdapter.java b/app/src/main/java/ch/dissem/apps/abit/adapter/SwipeableMessageAdapter.java index a0f9423..2e4775b 100644 --- a/app/src/main/java/ch/dissem/apps/abit/adapter/SwipeableMessageAdapter.java +++ b/app/src/main/java/ch/dissem/apps/abit/adapter/SwipeableMessageAdapter.java @@ -299,7 +299,6 @@ public class SwipeableMessageAdapter protected void onPerformAction() { super.onPerformAction(); - adapter.data.remove(position); adapter.data.remove(position); adapter.notifyItemRemoved(position); }