summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java
index 6cc914cd6..aa90e7285 100644
--- a/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java
+++ b/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java
@@ -144,7 +144,7 @@ public class QueueFragment extends Fragment implements MaterialToolbar.OnMenuIte
case SET_QUEUE:
case SORTED: //Deliberate fall-through
queue = event.items;
- recyclerAdapter.notifyDataSetChanged();
+ recyclerAdapter.updateItems(event.items);
break;
case REMOVED:
case IRREVERSIBLE_REMOVED:
@@ -154,7 +154,7 @@ public class QueueFragment extends Fragment implements MaterialToolbar.OnMenuIte
break;
case CLEARED:
queue.clear();
- recyclerAdapter.notifyDataSetChanged();
+ recyclerAdapter.updateItems(queue);
break;
case MOVED:
return;