summaryrefslogtreecommitdiff
path: root/event/src/main/java
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2023-03-14 21:03:45 +0100
committerGitHub <noreply@github.com>2023-03-14 21:03:45 +0100
commit4f7f49e1e714ce41320fff569272a1423198b2f3 (patch)
tree0adeefb8e26863cbccc204f11437684960114d86 /event/src/main/java
parent2c0b970044b3180786e165588d5d94ada0c90797 (diff)
downloadAntennaPod-4f7f49e1e714ce41320fff569272a1423198b2f3.zip
Move feed download to worker (#6375)
Feed downloads are now independent from episode downloads. This makes it easier to use WorkManager for refreshing. Also, it will make it easier to add different refresh intervals in the future.
Diffstat (limited to 'event/src/main/java')
-rw-r--r--event/src/main/java/de/danoeh/antennapod/event/FeedUpdateRunningEvent.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/event/src/main/java/de/danoeh/antennapod/event/FeedUpdateRunningEvent.java b/event/src/main/java/de/danoeh/antennapod/event/FeedUpdateRunningEvent.java
new file mode 100644
index 000000000..4c14c1647
--- /dev/null
+++ b/event/src/main/java/de/danoeh/antennapod/event/FeedUpdateRunningEvent.java
@@ -0,0 +1,9 @@
+package de.danoeh.antennapod.event;
+
+public class FeedUpdateRunningEvent {
+ public final boolean isFeedUpdateRunning;
+
+ public FeedUpdateRunningEvent(boolean isRunning) {
+ this.isFeedUpdateRunning = isRunning;
+ }
+}