diff options
author | ByteHamster <info@bytehamster.com> | 2019-04-11 20:54:48 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-04-11 20:54:48 +0200 |
commit | d4c87facaf3fb55f001ba65ee49e5f9b7e57006b (patch) | |
tree | 97682f98e6c8eea0975d54cad292d89acafdd8d3 /app | |
parent | 97d08f3b00f864d421608ac52e42beafc37e323d (diff) | |
download | AntennaPod-d4c87facaf3fb55f001ba65ee49e5f9b7e57006b.zip |
Fix displaying progress indicator in multi window
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java | 10 |
1 files changed, 5 insertions, 5 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 873612fd6..1a2152f51 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java @@ -102,11 +102,6 @@ public class QueueFragment extends Fragment { if (queue != null) { onFragmentLoaded(true); } - } - - @Override - public void onResume() { - super.onResume(); loadItems(true); EventDistributor.getInstance().register(contentUpdate); EventBus.getDefault().registerSticky(this); @@ -116,6 +111,11 @@ public class QueueFragment extends Fragment { public void onPause() { super.onPause(); saveScrollPosition(); + } + + @Override + public void onStop() { + super.onStop(); EventDistributor.getInstance().unregister(contentUpdate); EventBus.getDefault().unregister(this); if(disposable != null) { |