diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2023-03-14 21:03:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 21:03:45 +0100 |
commit | 4f7f49e1e714ce41320fff569272a1423198b2f3 (patch) | |
tree | 0adeefb8e26863cbccc204f11437684960114d86 /event | |
parent | 2c0b970044b3180786e165588d5d94ada0c90797 (diff) | |
download | AntennaPod-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')
-rw-r--r-- | event/src/main/java/de/danoeh/antennapod/event/FeedUpdateRunningEvent.java | 9 |
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; + } +} |