Fixed bug where two items were removed from view with one swipe
This commit is contained in:
parent
34000e7b79
commit
dea9231fcf
@ -299,7 +299,6 @@ public class SwipeableMessageAdapter
|
|||||||
protected void onPerformAction() {
|
protected void onPerformAction() {
|
||||||
super.onPerformAction();
|
super.onPerformAction();
|
||||||
|
|
||||||
adapter.data.remove(position);
|
|
||||||
adapter.data.remove(position);
|
adapter.data.remove(position);
|
||||||
adapter.notifyItemRemoved(position);
|
adapter.notifyItemRemoved(position);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user